Commit Graph

47 Commits

Author SHA1 Message Date
Robert von Burg d5716e60ea
[Fix] Only notify connection state if changed 2022-11-04 15:59:07 +01:00
Robert von Burg 15c9eb731d
[Major] New GetAddressState PLC telegram 2022-10-07 15:39:10 +02:00
Robert von Burg 20bd342651
[Major] Refactored state management of PLCs
Now one can register for connection states using PlcConnectionStateListener and perform appropriate work when a PLC connects or disconnects
2022-10-06 17:42:24 +02:00
Robert von Burg ae20e89b21
[Minor] logger change 2022-05-04 16:43:27 +02:00
Robert von Burg b953c6fd40
[Minor] get plcId by searching on action hierarchy 2022-05-04 14:12:21 +02:00
Robert von Burg 9115cc47fe
[Minor] Code cleanup, and close session on failed auth 2022-05-02 15:19:32 +02:00
Robert von Burg 25e5ccac17 [Minor] code cleanup 2022-01-19 23:44:27 +01:00
Robert von Burg ff548a36db [Minor] Fixed constructors to work with Strolch 2022-01-19 19:41:33 +01:00
Robert von Burg 3276b85f85 [Fix] Fixed imports for constants 2021-11-12 17:09:05 +01:00
Robert von Burg 33e5e5619a [Fix] Handle missing PLC resource in PlcStateHandler 2021-05-29 22:13:17 +02:00
Robert von Burg ba743b9ca0 [Minor] Don't log value, if value is null on sending 2021-02-17 10:08:44 +01:00
Robert von Burg aa9c8197b3 [Fix] handle bad auth from PLC clients 2020-12-05 21:55:55 +01:00
Robert von Burg c220d97d86 [Minor] replaced deprecated call with new call 2020-08-18 16:39:56 +02:00
Robert von Burg 9bf55cb43c [Fix] don't update PLC state if not changed 2020-08-06 08:57:31 +02:00
Robert von Burg 3d15a45744 [Minor] Fix broken state notification 2020-07-22 13:28:52 +02:00
Robert von Burg f2e1ff1152 [Fix] Don't remove PlcNotificationListener on connection lost 2020-07-10 11:11:30 +02:00
Robert von Burg 8f5b0c3145 [Major] Created SendPlcTelegramCommand from SendPlcTelegramService 2020-06-30 11:35:23 +02:00
Robert von Burg e1178a0605 [Major] I18n refactorings 2020-06-29 16:09:18 +02:00
Robert von Burg a492dbc368 [New] Added SendPlcTelegramService 2020-06-26 12:45:11 +02:00
Robert von Burg a228644880 [Minor] trigger execution handler on connect 2020-06-22 13:36:55 +02:00
Robert von Burg f3b01acc9c [Fix] Async fixes in sending and notifying of server 2020-06-17 09:22:36 +02:00
Robert von Burg df5cd6b655 [Fix] Multiple fixes for PLC 2020-06-09 23:19:07 +02:00
Robert von Burg 3d61374861 [New] LogMessages use PlcId as username, for filtering 2020-06-05 15:46:10 +02:00
Robert von Burg 5ef1b8b22e [Minor] code cleanup 2020-05-28 14:25:18 +02:00
Robert von Burg f99fac43fd [Major] Moved LogMessage class to strolch-model project 2020-05-27 10:44:13 +02:00
Robert von Burg befa810fe4 [Major] Added simulated mode, and async message sending with queue for start-up 2020-05-26 17:39:18 +02:00
Robert von Burg e0119b5270 [Major] Refactoring PLC to I18n messages 2020-05-15 17:25:08 +02:00
Robert von Burg 43f0fb378f [New] Implemented keepAlive of strolch sessions 2020-05-11 17:49:07 +02:00
Robert von Burg 67273317f3 [New] Requiring Usage when authenticating 2020-04-23 10:06:30 +02:00
Robert von Burg cd2757a488 [New] PlcGwService.register(String, String) now returns PlcAddressKey 2020-04-15 13:08:23 +02:00
Robert von Burg 9626326904 [Fix] Added missing dependency strolch-plc-gw-server in bom 2020-04-06 20:49:54 +02:00
Robert von Burg f009ab8179 [New] Added PlcGwService.register(String, String) 2020-04-01 16:23:47 +02:00
Robert von Burg a97fcac61a [Fix] Call listener in PlcGwService 2020-04-01 16:23:22 +02:00
Robert von Burg 3a58dfcb0f [Major] PlcGwService.run* calls PlcGwServerHandler, using a configurable runAsUser 2020-04-01 16:22:07 +02:00
Robert von Burg d281fb0805 [Major] Moved PlcNotificationListener to gw-server 2020-03-30 18:16:34 +02:00
Robert von Burg ebfeca7c4d [New] Added PlcGwService.getComponent() 2020-03-16 17:12:08 +01:00
Robert von Burg e77f88256d [Major] No need to pass container into constructor for PlcGwService 2020-02-28 16:58:52 +01:00
Robert von Burg 4ceb856f7a [Major] Refactored PlcHandler.register() and unregister(), add .getContainer(), removed from svc constructor 2020-02-28 16:07:17 +01:00
Robert von Burg 2dbf92a971 [Major] Renamed Plc.register() and Plc.unregister(), logger cleanup, etc. 2020-02-26 09:38:13 +01:00
Robert von Burg 78bdf6d506 [New] PlcGwService.runAs() does not throw Exception, handled internally by OperationsLog and Logger 2020-02-20 18:01:10 +01:00
Robert von Burg 2498f9c9a9 [Fix] Changed to reflect changes in Strolch 2020-02-18 18:12:56 +01:00
Robert von Burg b28e8ad4d8 [Major] Implemented basic PlcExecutionPolicy with PlcGwService for activity execution 2020-02-12 15:02:48 +01:00
Robert von Burg d0adc91e4b [New] Implemented implicit virtual connections and added verbose logging 2020-02-05 22:59:48 +01:00
Robert von Burg fcc2377976 [New] Adding PlcExecutionPolicy for execution of Activities using a PLC 2020-02-03 11:55:18 +01:00
Robert von Burg 03f4ca334d [Minor] Change to single parameter StrolchPolicy constructor 2020-01-30 14:43:42 +01:00
Robert von Burg 12ebd8c7dd [Major] Implemented notifying server from PLC 2020-01-29 23:50:49 +01:00
Robert von Burg 08e6057a08 [New] Implementing PLC client<->server websocket 2020-01-28 19:43:20 +01:00