C# Class Brunet.PathELManager

Inheritance: IDataHandler, IRpcHandler
Datei anzeigen Open project: johnynek/brunet Class Usage Examples

Public Properties

Property Type Description
Root string
Rpc RpcManager

Protected Properties

Property Type Description
_fe FuzzyEvent
_next_check long
_period int
_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
HandleEdge ( object newedge, System args ) : void
HandleEdgeClose ( object closing_edge, System args ) : void
PathELManager ( EdgeListener el, bool thread ) : Brunet.Concurrent
TimeoutCheck ( ) : 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

HandleData() public method

public HandleData ( MemBlock data, ISender retpath, object state ) : void
data 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

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

TimeoutCheck() protected method

protected TimeoutCheck ( ) : void
return void

Property Details

Root public_oe static_oe property

public static string Root
return string

Rpc public_oe property

public RpcManager Rpc
return RpcManager

_fe protected_oe property

protected FuzzyEvent _fe
return FuzzyEvent

_next_check protected_oe property

protected long _next_check
return long

_period protected_oe property

protected int _period
return int

_running protected_oe property

protected bool _running
return bool

_timer_thread protected_oe property

protected Thread _timer_thread
return Thread