C# Class Brunet.Connections.ConnectionPacketHandler

Inheritance: IRpcHandler
Afficher le fichier Open project: johnynek/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_disconnecting int
_edge_to_cphstate System.Collections.Hashtable
_node Node
_sync object

Méthodes publiques

Méthode Description
Close ( IDictionary close_message, ISender edge ) : IDictionary
CloseHandler ( object edge, EventArgs args ) : void
ConnectionPacketHandler ( Node n ) : System
GetLocalIPAddresses ( ) : IList
GetNeighbors ( ) : IDictionary
GetStatus ( IDictionary status_message, ISender edge ) : IDictionary
HandleRpc ( ISender caller, string method, IList arguments, object request_state ) : void
Ping ( object o, ISender edge ) : object
Start ( IDictionary link_message, ISender edge ) : IDictionary

Méthodes protégées

Méthode Description
CanConnect ( CphState cph, ErrorMessage &err ) : bool
GetEdge ( ISender s ) : Edge

Method Details

CanConnect() protected méthode

protected CanConnect ( CphState cph, ErrorMessage &err ) : bool
cph CphState
err ErrorMessage
Résultat bool

Close() public méthode

public Close ( IDictionary close_message, ISender edge ) : IDictionary
close_message IDictionary
edge ISender
Résultat IDictionary

CloseHandler() public méthode

public CloseHandler ( object edge, EventArgs args ) : void
edge object
args System.EventArgs
Résultat void

ConnectionPacketHandler() public méthode

public ConnectionPacketHandler ( Node n ) : System
n Node
Résultat System

GetEdge() protected méthode

protected GetEdge ( ISender s ) : Edge
s ISender
Résultat Edge

GetLocalIPAddresses() public méthode

public GetLocalIPAddresses ( ) : IList
Résultat IList

GetNeighbors() public méthode

public GetNeighbors ( ) : IDictionary
Résultat IDictionary

GetStatus() public méthode

public GetStatus ( IDictionary status_message, ISender edge ) : IDictionary
status_message IDictionary
edge ISender
Résultat IDictionary

HandleRpc() public méthode

public HandleRpc ( ISender caller, string method, IList arguments, object request_state ) : void
caller ISender
method string
arguments IList
request_state object
Résultat void

Ping() public méthode

public Ping ( object o, ISender edge ) : object
o object
edge ISender
Résultat object

Start() public méthode

public Start ( IDictionary link_message, ISender edge ) : IDictionary
link_message IDictionary
edge ISender
Résultat IDictionary

Property Details

_disconnecting protected_oe property

protected int _disconnecting
Résultat int

_edge_to_cphstate protected_oe property

protected Hashtable,System.Collections _edge_to_cphstate
Résultat System.Collections.Hashtable

_node protected_oe property

protected Node _node
Résultat Node

_sync protected_oe property

protected object _sync
Résultat object