C# Class NetMQ.Zyre.ZreMsgOriginal

work with ZRE messages - as generated by ZProt
显示文件 Open project: NetMQ/Zyre Class Usage Examples

Public Methods

Method Description
Receive ( IReceivingSocket input ) : void

Receive a ZreMsgOriginal from the socket.

Send ( IOutgoingSocket output ) : void

Send the ZreMsgOriginal to the socket.

ZreMsgOriginal ( ) : System

Create a new ZreMsgOriginal

Private Methods

Method Description
GetLongString ( ) : string
GetNumber1 ( ) : byte
GetNumber2 ( ) : UInt16
GetNumber4 ( ) : UInt32
GetNumber8 ( ) : System.UInt64
GetOctets ( byte host, int size ) : void
GetString ( ) : string
PutLongString ( string host ) : void
PutNumber1 ( byte host ) : void
PutNumber2 ( UInt16 host ) : void
PutNumber4 ( UInt32 host ) : void
PutNumber8 ( System.UInt64 host ) : void
PutOctets ( byte host, int size ) : void
PutString ( string host ) : void

Method Details

Receive() public method

Receive a ZreMsgOriginal from the socket.
public Receive ( IReceivingSocket input ) : void
input IReceivingSocket
return void

Send() public method

Send the ZreMsgOriginal to the socket.
public Send ( IOutgoingSocket output ) : void
output IOutgoingSocket
return void

ZreMsgOriginal() public method

Create a new ZreMsgOriginal
public ZreMsgOriginal ( ) : System
return System