C# Class Brunet.Transport.Edge

Inheritance: Brunet.Messaging.SimpleSource, IComparable, Brunet.Messaging.ISender
ファイルを表示 Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
IsInbound bool

Protected Properties

Property Type Description
_create_dt System.DateTime
_edge_no long
_is_closed int
_last_in_packet_datetime long
_last_out_packet_datetime long
_send_cb IEdgeSendHandler

Public Methods

Method Description
Close ( ) : bool
CompareTo ( object e ) : int
CreateInstance ( object n, string uri ) : Edge
GetEdgeNum ( long num ) : Edge
ReceivedPacketEvent ( Brunet.Util b ) : void
Send ( Brunet.Util p ) : void
ToString ( ) : string
ToUri ( ) : string

Protected Methods

Method Description
AllocEdgeNum ( Edge e ) : long
Edge ( IEdgeSendHandler esh, bool is_in ) : System
ReleaseEdgeNum ( long num ) : void

Private Methods

Method Description
Edge ( ) : System

Method Details

AllocEdgeNum() protected static method

protected static AllocEdgeNum ( Edge e ) : long
e Edge
return long

Close() public method

public Close ( ) : bool
return bool

CompareTo() public method

public CompareTo ( object e ) : int
e object
return int

CreateInstance() public static method

public static CreateInstance ( object n, string uri ) : Edge
n object
uri string
return Edge

Edge() protected method

protected Edge ( IEdgeSendHandler esh, bool is_in ) : System
esh IEdgeSendHandler
is_in bool
return System

GetEdgeNum() public static method

public static GetEdgeNum ( long num ) : Edge
num long
return Edge

ReceivedPacketEvent() public method

public ReceivedPacketEvent ( Brunet.Util b ) : void
b Brunet.Util
return void

ReleaseEdgeNum() protected static method

protected static ReleaseEdgeNum ( long num ) : void
num long
return void

Send() public method

public Send ( Brunet.Util p ) : void
p Brunet.Util
return void

ToString() public method

public ToString ( ) : string
return string

ToUri() public method

public ToUri ( ) : string
return string

Property Details

IsInbound public_oe property

public bool IsInbound
return bool

_create_dt protected_oe property

protected DateTime,System _create_dt
return System.DateTime

_edge_no protected_oe property

protected long _edge_no
return long

_is_closed protected_oe property

protected int _is_closed
return int

_last_in_packet_datetime protected_oe property

protected long _last_in_packet_datetime
return long

_last_out_packet_datetime protected_oe property

protected long _last_out_packet_datetime
return long

_send_cb protected_oe property

protected IEdgeSendHandler _send_cb
return IEdgeSendHandler