dispatch(self,
protocol,
message,
inbackground=1)
Receives the raw messages from the protocol implementations and
passes them somewhere depending on the type.
Message is passed to the messagewrapper.MessageWrapper.unwrapG4dsMessage
function for removing the g4ds-"header" and gain the actual
information. Afterwards, in case of an encrypted message it is passed
to the private function _handleDecryptionAndValidation which will
thereupon unwrap and decrypt the message. Then, the message is passed
and it is identified, whether there is a service or a control message
contained. Depending on this, the content is either passed to the g4dsconfigurationcontroller.ControlMessageDispatcher.dispatch
or to the serviceintegrator.ServiceIntegrator.dispatch .
-
- Parameters:
protocol -
Protocol as identified for the incoming message
(type=String )
message -
String representation of the XML message
(type=String )
|