C# Class Brunet.Transport.TcpEdgeListener.ReceiveState

Show file Open project: pstjuste/brunet

Public Properties

Property Type Description
Buffer byte[]
CurrentOffset int
Edge TcpEdge
Length int
Offset int
ReadingSize bool
RemainingLength int

Protected Properties

Property Type Description
_ba BufferAllocator
_s Socket

Public Methods

Method Description
Receive ( ) : bool
ReceiveState ( TcpEdge e, BufferAllocator ba ) : System

Protected Methods

Method Description
Reset ( byte buf, int off, int length, bool readingsize ) : void

Method Details

Receive() public method

public Receive ( ) : bool
return bool

ReceiveState() public method

public ReceiveState ( TcpEdge e, BufferAllocator ba ) : System
e TcpEdge
ba BufferAllocator
return System

Reset() protected method

protected Reset ( byte buf, int off, int length, bool readingsize ) : void
buf byte
off int
length int
readingsize bool
return void

Property Details

Buffer public property

public byte[] Buffer
return byte[]

CurrentOffset public property

public int CurrentOffset
return int

Edge public property

public TcpEdge,Brunet.Transport Edge
return TcpEdge

Length public property

public int Length
return int

Offset public property

public int Offset
return int

ReadingSize public property

public bool ReadingSize
return bool

RemainingLength public property

public int RemainingLength
return int

_ba protected property

protected BufferAllocator _ba
return BufferAllocator

_s protected property

protected Socket _s
return Socket