OptoMMP2
Opto22.StreamsHelper.StreamMessage Class Reference

A small class to encapsulate the data received from a streaming client. More...

Public Member Functions

 StreamMessage ()
 Constructor More...
 
void Set (EndPoint endpoint, byte[] byary, int i32Length)
 Populates this object with data, only for the background thread. More...
 
void Get (out EndPoint endpoint, out byte[] byary, out int i32Length)
 Retrieve the data encapsulated in this object. Only use this in the call-back method. More...
 

Detailed Description

A small class to encapsulate the data received from a streaming client.

Constructor & Destructor Documentation

Opto22.StreamsHelper.StreamMessage.StreamMessage ( )

Constructor

Member Function Documentation

void Opto22.StreamsHelper.StreamMessage.Get ( out EndPoint  endpoint,
out byte[]  byary,
out int  i32Length 
)

Retrieve the data encapsulated in this object. Only use this in the call-back method.

Parameters
endpointSource of this data.
byaryByte array received.
i32LengthLength of the data received.
void Opto22.StreamsHelper.StreamMessage.Set ( EndPoint  endpoint,
byte[]  byary,
int  i32Length 
)

Populates this object with data, only for the background thread.

Parameters
endpointSource of the data.
byaryThe byte array received.
i32LengthLength of received data.

The documentation for this class was generated from the following file: