C# Class Brunet.Transport.TcpEdge

Inheritance: Edge
ファイルを表示 Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
MAX_PACKET int
Socket Socket

Protected Properties

Property Type Description
_buffer byte[]
_flush_ptr int
_localta TransportAddress
_remoteta TransportAddress
_written int

Public Methods

Method Description
Flush ( ) : bool
TcpEdge ( IEdgeSendHandler send_cb, bool is_in, Socket s ) : System
WriteToBuffer ( Brunet p ) : void

Method Details

Flush() public method

public Flush ( ) : bool
return bool

TcpEdge() public method

public TcpEdge ( IEdgeSendHandler send_cb, bool is_in, Socket s ) : System
send_cb IEdgeSendHandler
is_in bool
s Socket
return System

WriteToBuffer() public method

public WriteToBuffer ( Brunet p ) : void
p Brunet
return void

Property Details

MAX_PACKET public_oe static_oe property

public static int MAX_PACKET
return int

Socket public_oe property

public Socket Socket
return Socket

_buffer protected_oe property

protected byte[] _buffer
return byte[]

_flush_ptr protected_oe property

protected int _flush_ptr
return int

_localta protected_oe property

protected TransportAddress,Brunet.Transport _localta
return TransportAddress

_remoteta protected_oe property

protected TransportAddress,Brunet.Transport _remoteta
return TransportAddress

_written protected_oe property

protected int _written
return int