Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionBufferMessageHandler Interface Reference

The interface for handling buffer messages. More...

Inheritance diagram for PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionBufferMessageHandler:
PushTechnology.DiffusionCore.Connection.Connectors.IConnectionHandler PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionClientTcpConnection

Public Member Functions

MessageImpl HandleBufferMessage (ByteBuffer buffer, TopicAliasMap topicAliasMap)
 Handles a message buffer which has a full message in it. The buffer may contain more than a full message but will not contain less. It will have a valid message length in the first two bytes describing how much of the message is to be processed. This method must extract the message that it needs from the buffer but must not change the positioning or limit of the supplied buffer in any way. More...
 

Detailed Description

The interface for handling buffer messages.

Member Function Documentation

MessageImpl PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionBufferMessageHandler.HandleBufferMessage ( ByteBuffer  buffer,
TopicAliasMap  topicAliasMap 
)

Handles a message buffer which has a full message in it. The buffer may contain more than a full message but will not contain less. It will have a valid message length in the first two bytes describing how much of the message is to be processed. This method must extract the message that it needs from the buffer but must not change the positioning or limit of the supplied buffer in any way.

Parameters
buffer
topicAliasMap
Returns