C# Class Brunet.Transport.TcpEdgeListener.ReceiveState

Mostrar archivo 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_oe property

public byte[] Buffer
return byte[]

CurrentOffset public_oe property

public int CurrentOffset
return int

Edge public_oe property

public TcpEdge,Brunet.Transport Edge
return TcpEdge

Length public_oe property

public int Length
return int

Offset public_oe property

public int Offset
return int

ReadingSize public_oe property

public bool ReadingSize
return bool

RemainingLength public_oe property

public int RemainingLength
return int

_ba protected_oe property

protected BufferAllocator _ba
return BufferAllocator

_s protected_oe property

protected Socket _s
return Socket