ServerMultiMessage

The ServerMultiMessage is a Message that is able to communicate in different formats (f.e. binary and SOAP) via the same server URL.

This message type is mainly designed for non-HTTP servers but can be used with HTTP servers too.

For each incoming data request, the ServerMultiMessage class detects the format of the incoming data stream and then processes it. The response is sent back in the same format the request was.

This message type can be used only on the server side.

Note: For performance reasons it is better to use separate URL's or ports for different message types, because the ServerMultiMessage tries to determine the appropriate message format for every incoming data request.

Components