C# Class Brunet.Connections.LocalConnectionOverlord

Inheritance: Brunet.Connections.ConnectionOverlord, IRpcHandler
Show file Open project: johnynek/brunet

Public Properties

Property Type Description
MAX_LC int
struc_local string

Protected Properties

Property Type Description
_active bool
_allow_localcons bool
_last_activate_call System.DateTime
_last_announce_call System.DateTime
_local_addresses List
_local_cons int
_rpc Brunet.Messaging.RpcManager
_sync Object
addr_compare AHAddressComparer

Public Methods

Method Description
Activate ( ) : void
CheckConnection ( object o, EventArgs ea ) : void
HandleRpc ( ISender caller, string method, IList args, object rs ) : void
LocalConnectionOverlord ( Node node ) : System

Protected Methods

Method Description
Announce ( ) : void
ConnectHandler ( object tab, EventArgs eargs ) : void
DisconnectHandler ( object tab, EventArgs eargs ) : void
GetInformation ( ) : Hashtable
HandleGetInformation ( Object o, EventArgs ea ) : void
StateChangeHandler ( Node n, Node state ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

Announce() protected method

protected Announce ( ) : void
return void

CheckConnection() public method

public CheckConnection ( object o, EventArgs ea ) : void
o object
ea System.EventArgs
return void

ConnectHandler() protected method

protected ConnectHandler ( object tab, EventArgs eargs ) : void
tab object
eargs System.EventArgs
return void

DisconnectHandler() protected method

protected DisconnectHandler ( object tab, EventArgs eargs ) : void
tab object
eargs System.EventArgs
return void

GetInformation() protected method

protected GetInformation ( ) : Hashtable
return System.Collections.Hashtable

HandleGetInformation() protected method

protected HandleGetInformation ( Object o, EventArgs ea ) : void
o Object
ea System.EventArgs
return void

HandleRpc() public method

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

LocalConnectionOverlord() public method

public LocalConnectionOverlord ( Node node ) : System
node Node
return System

StateChangeHandler() protected method

protected StateChangeHandler ( Node n, Node state ) : void
n Node
state Node
return void

Property Details

MAX_LC public static property

public static int MAX_LC
return int

_active protected property

protected bool _active
return bool

_allow_localcons protected property

protected bool _allow_localcons
return bool

_last_activate_call protected property

protected DateTime,System _last_activate_call
return System.DateTime

_last_announce_call protected property

protected DateTime,System _last_announce_call
return System.DateTime

_local_addresses protected property

protected List _local_addresses
return List

_local_cons protected property

protected int _local_cons
return int

_rpc protected property

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

_sync protected property

protected Object _sync
return Object

addr_compare protected property

protected AHAddressComparer addr_compare
return AHAddressComparer

struc_local public static property

public static string struc_local
return string