C# Class Brunet.Transport.PathELManager

Inheritance: IDataHandler, IRpcHandler
显示文件 Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
Root string
Rpc Brunet.Messaging.RpcManager

Protected Properties

Property Type Description
_edge_fe FuzzyEvent
_rrm_fe FuzzyEvent
_running bool
_timer_thread Thread

Public Methods

Method Description
CreatePath ( ) : PathEdgeListener
CreatePath ( string path ) : PathEdgeListener
CreateRootPath ( ) : PathEdgeListener
HandleData ( MemBlock data, ISender retpath, object state ) : void
HandleRpc ( ISender caller, string meth, IList args, object state ) : void
JoinPath ( TransportAddress ta, string path ) : TransportAddress
PathELManager ( EdgeListener el ) : Brunet.Concurrent
PathELManager ( EdgeListener el, IActionQueue queue ) : Brunet.Concurrent
RemovePath ( string path ) : void
SplitPath ( TransportAddress ta, string &path ) : TransportAddress
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
EdgeTimeoutChecker ( ) : void
HandleEdge ( object newedge, System args ) : void
HandleEdgeClose ( object closing_edge, System args ) : void
PathELManager ( EdgeListener el, bool thread ) : Brunet.Concurrent
ReqrepTimeoutChecker ( ) : void

Method Details

CreatePath() public method

public CreatePath ( ) : PathEdgeListener
return PathEdgeListener

CreatePath() public method

public CreatePath ( string path ) : PathEdgeListener
path string
return PathEdgeListener

CreateRootPath() public method

public CreateRootPath ( ) : PathEdgeListener
return PathEdgeListener

EdgeTimeoutChecker() protected method

protected EdgeTimeoutChecker ( ) : void
return void

HandleData() public method

public HandleData ( MemBlock data, ISender retpath, object state ) : void
data Brunet.Util.MemBlock
retpath ISender
state object
return void

HandleEdge() protected method

protected HandleEdge ( object newedge, System args ) : void
newedge object
args System
return void

HandleEdgeClose() protected method

protected HandleEdgeClose ( object closing_edge, System args ) : void
closing_edge object
args System
return void

HandleRpc() public method

public HandleRpc ( ISender caller, string meth, IList args, object state ) : void
caller ISender
meth string
args IList
state object
return void

JoinPath() public static method

public static JoinPath ( TransportAddress ta, string path ) : TransportAddress
ta TransportAddress
path string
return TransportAddress

PathELManager() public method

public PathELManager ( EdgeListener el ) : Brunet.Concurrent
el EdgeListener
return Brunet.Concurrent

PathELManager() public method

public PathELManager ( EdgeListener el, IActionQueue queue ) : Brunet.Concurrent
el EdgeListener
queue IActionQueue
return Brunet.Concurrent

PathELManager() protected method

protected PathELManager ( EdgeListener el, bool thread ) : Brunet.Concurrent
el EdgeListener
thread bool
return Brunet.Concurrent

RemovePath() public method

public RemovePath ( string path ) : void
path string
return void

ReqrepTimeoutChecker() protected method

protected ReqrepTimeoutChecker ( ) : void
return void

SplitPath() public static method

public static SplitPath ( TransportAddress ta, string &path ) : TransportAddress
ta TransportAddress
path string
return TransportAddress

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

Root public_oe static_oe property

public static string Root
return string

Rpc public_oe property

public RpcManager,Brunet.Messaging Rpc
return Brunet.Messaging.RpcManager

_edge_fe protected_oe property

protected FuzzyEvent _edge_fe
return FuzzyEvent

_rrm_fe protected_oe property

protected FuzzyEvent _rrm_fe
return FuzzyEvent

_running protected_oe property

protected bool _running
return bool

_timer_thread protected_oe property

protected Thread _timer_thread
return Thread