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

Handles a complete message in a byte buffer. More...

Public Member Functions

void HandleBufferMessage (ByteBuffer buffer)
 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. More...
 

Detailed Description

Handles a complete message in a byte buffer.

Member Function Documentation

void PushTechnology.DiffusionCore.Connection.IDiffusionBufferMessageHandler.HandleBufferMessage ( ByteBuffer  buffer)

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