9 #ifndef IPROTOCOLHANDLER_H 10 #define IPROTOCOLHANDLER_H 57 virtual int type()
const = 0;
struct XsByteArray XsByteArray
virtual int minimumMessageSize() const =0
Returns the minimum size of a valid message.
virtual MessageLocation findMessage(XsMessage &rcv, const XsByteArray &raw) const =0
Find the first message in the raw byte stream.
Stores the location of a message in a buffer using a start position and a size.
Structure for storing a single message.
virtual int type() const =0
Returns the type of the protocol handler.
virtual int maximumMessageSize() const =0
Returns the maximum size of a valid message.
Interface class for protocol handlers.
virtual ~IProtocolHandler()
Destructor.