C# Class Apache.NMS.ActiveMQ.Commands.ActiveMQBytesMessage.LengthTrackerStream

Used when the message compression is enabled to track how many bytes the EndianBinaryWriter actually writes to the stream before compression so that the receiving client can read off the real bodylength from the Message before the data is actually read.
Inheritance: Stream
Datei anzeigen Open project: ThorTech/apache-nms

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
LengthTrackerStream ( Stream sink, ActiveMQBytesMessage parent ) : System
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

LengthTrackerStream() public method

public LengthTrackerStream ( Stream sink, ActiveMQBytesMessage parent ) : System
sink Stream
parent ActiveMQBytesMessage
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadByte() public method

public ReadByte ( ) : int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

WriteByte() public method

public WriteByte ( byte value ) : void
value byte
return void