Module g4ds.messagehandler
Handles both, incoming at outgoing messages in the first place.
Grid for Digital Security (G4DS)
For incoming messages a class GlobalOutoingMessageHandler
is provided.
Only the instance provided by the function getGlobalOutgoingMessageHandler
should be
used for accessing it. (Singleton). It provides functions for sending
both service and control messages.
For outgoing messages there is the class called
GlobalMessageDispatcher. Whenever a new message arrives, it should be
passed to the function GlobalDispatcher.dispatch
inside it.
Author: Michael Pilgermann
Contact: mailto:mpilgerm@glam.ac.uk
License: GPL (General Public License)
getGlobalDispatcher()
Singleton implementation.
-
- Returns:
-
The instance for the global dispatcher class
(type=GlobalDispatcher )
|
getGlobalOutgoingMessageHandler()
Singleton implementation.
-
- Returns:
-
The instance for the global outgoing message handler class
(type=GlobalOutoingMessageHandler )
|
getMessageContextController()
Singleton implementation.
-
- Returns:
-
The instance for the message context controller
(type=MessageContextController )
|