C# Class Brunet.Transport.LocalDiscovery

Exchange TAs using IP multicast.
Inheritance: Discovery, IRpcHandler
ファイルを表示 Open project: pstjuste/brunet

Public Properties

Property Type Description
EMPTY_LIST string[]

Protected Properties

Property Type Description
_iphandler Brunet.Messaging.IPHandler
_realm string
_rpc Brunet.Messaging.RpcManager

Public Methods

Method Description
HandleRpc ( ISender caller, string method, IList args, object rs ) : void
LocalDiscovery ( ITAHandler ta_handler, string realm, RpcManager rpc, IPHandler iphandler ) : Brunet.Concurrent

Protected Methods

Method Description
HandleSeekTAs ( Object o, EventArgs ea ) : void

Incoming TAs are added to the ITAHandler

SeekTAs ( System.DateTime now ) : void

Seek TAs.

Method Details

HandleRpc() public method

public HandleRpc ( ISender caller, string method, IList args, object rs ) : void
caller ISender
method string
args IList
rs object
return void

HandleSeekTAs() protected method

Incoming TAs are added to the ITAHandler
protected HandleSeekTAs ( Object o, EventArgs ea ) : void
o Object
ea System.EventArgs
return void

LocalDiscovery() public method

public LocalDiscovery ( ITAHandler ta_handler, string realm, RpcManager rpc, IPHandler iphandler ) : Brunet.Concurrent
ta_handler ITAHandler
realm string
rpc Brunet.Messaging.RpcManager
iphandler Brunet.Messaging.IPHandler
return Brunet.Concurrent

SeekTAs() protected method

Seek TAs.
protected SeekTAs ( System.DateTime now ) : void
now System.DateTime
return void

Property Details

EMPTY_LIST public_oe static_oe property

public static string[] EMPTY_LIST
return string[]

_iphandler protected_oe property

protected IPHandler,Brunet.Messaging _iphandler
return Brunet.Messaging.IPHandler

_realm protected_oe property

protected string _realm
return string

_rpc protected_oe property

protected RpcManager,Brunet.Messaging _rpc
return Brunet.Messaging.RpcManager