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
Afficher le fichier Open project: ThorTech/apache-nms

Méthodes publiques

Méthode 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 méthode

public Close ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

LengthTrackerStream() public méthode

public LengthTrackerStream ( Stream sink, ActiveMQBytesMessage parent ) : System
sink Stream
parent ActiveMQBytesMessage
Résultat System

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteByte() public méthode

public WriteByte ( byte value ) : void
value byte
Résultat void