C# Class NewTOAPIA.Net.Udt.CSndBuffer

Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
CSndBuffer ( int size, int mss ) : System
ackData ( int offset ) : void
addBuffer ( byte data, int len, int ttl, bool order ) : void
addBufferFromFile ( Stream ifs, int len ) : int
getCurrBufSize ( ) : int
increase ( ) : void
readData ( byte &data, Int32 msgno ) : int
readData ( byte &data, int offset, Int32 msgno, int msglen ) : int

Method Details

CSndBuffer() public method

public CSndBuffer ( int size, int mss ) : System
size int
mss int
return System

ackData() public method

public ackData ( int offset ) : void
offset int
return void

addBuffer() public method

public addBuffer ( byte data, int len, int ttl, bool order ) : void
data byte
len int
ttl int
order bool
return void

addBufferFromFile() public method

public addBufferFromFile ( Stream ifs, int len ) : int
ifs Stream
len int
return int

getCurrBufSize() public method

public getCurrBufSize ( ) : int
return int

increase() public method

public increase ( ) : void
return void

readData() public method

public readData ( byte &data, Int32 msgno ) : int
data byte
msgno System.Int32
return int

readData() public method

public readData ( byte &data, int offset, Int32 msgno, int msglen ) : int
data byte
offset int
msgno System.Int32
msglen int
return int