C# Class Brunet.Symphony.StructuredNearConnectionOverlord

Inheritance: Brunet.Connections.ConnectionOverlord
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Méthodes publiques

Свойство Type Description
DESIRED_NEIGHBORS int

Protected Properties

Свойство Type Description
STRUC_NEAR string
TRIM_DELAY double
_DEFAULT_RETRY_INTERVAL System.TimeSpan
_MAX_RETRY_INTERVAL System.TimeSpan
_active int
_connectors System.Collections.Hashtable
_current_retry_interval System.TimeSpan
_last_connection_time System.DateTime
_last_retry_time System.DateTime
_need_left int
_need_right int
_rand System.Random
_start_time System.DateTime
_sync object
_ta_auth TAAuthorizer

Méthodes publiques

Méthode Description
Activate ( ) : void
HandleCtmResponse ( Connector c, ISender ret_path, ConnectToMessage ctm_resp ) : bool
StructuredNearConnectionOverlord ( Node n ) : System

Méthodes protégées

Méthode Description
CheckForNearerNeighbors ( ConnectionList structs, IEnumerable neighbors, Address &nltarget, Address &nrtarget ) : void
CheckState ( object node, EventArgs eargs ) : void
ConnectHandler ( object contab, EventArgs eargs ) : void
ConnectTo ( ISender sender, Address target, string contype, int responses ) : void
ConnectToNearer ( ConnectionList cl, Address forwarder, IEnumerable ni ) : void
ConnectToNearer ( ConnectionList structs, IDictionary target_to_for, IEnumerable neighs ) : void
ConnectorEndHandler ( object connector, EventArgs args ) : void
DisconnectHandler ( object connectiontable, EventArgs args ) : void
GetConnectToMessage ( string ConnectionType, string token ) : ConnectToMessage
GetSelfTarget ( ) : Address
StatusChangedHandler ( Connection c, ConnectionState>.Brunet oldnew ) : void
TrimConnections ( ) : void

Method Details

Activate() public méthode

public Activate ( ) : void
Résultat void

CheckForNearerNeighbors() protected méthode

protected CheckForNearerNeighbors ( ConnectionList structs, IEnumerable neighbors, Address &nltarget, Address &nrtarget ) : void
structs ConnectionList
neighbors IEnumerable
nltarget Address
nrtarget Address
Résultat void

CheckState() protected méthode

protected CheckState ( object node, EventArgs eargs ) : void
node object
eargs System.EventArgs
Résultat void

ConnectHandler() protected méthode

protected ConnectHandler ( object contab, EventArgs eargs ) : void
contab object
eargs System.EventArgs
Résultat void

ConnectTo() protected méthode

protected ConnectTo ( ISender sender, Address target, string contype, int responses ) : void
sender ISender
target Address
contype string
responses int
Résultat void

ConnectToNearer() protected méthode

protected ConnectToNearer ( ConnectionList cl, Address forwarder, IEnumerable ni ) : void
cl ConnectionList
forwarder Address
ni IEnumerable
Résultat void

ConnectToNearer() protected méthode

protected ConnectToNearer ( ConnectionList structs, IDictionary target_to_for, IEnumerable neighs ) : void
structs ConnectionList
target_to_for IDictionary
neighs IEnumerable
Résultat void

ConnectorEndHandler() protected méthode

protected ConnectorEndHandler ( object connector, EventArgs args ) : void
connector object
args System.EventArgs
Résultat void

DisconnectHandler() protected méthode

protected DisconnectHandler ( object connectiontable, EventArgs args ) : void
connectiontable object
args System.EventArgs
Résultat void

GetConnectToMessage() protected méthode

protected GetConnectToMessage ( string ConnectionType, string token ) : ConnectToMessage
ConnectionType string
token string
Résultat Brunet.Connections.ConnectToMessage

GetSelfTarget() protected méthode

protected GetSelfTarget ( ) : Address
Résultat Address

HandleCtmResponse() public méthode

public HandleCtmResponse ( Connector c, ISender ret_path, ConnectToMessage ctm_resp ) : bool
c Brunet.Connections.Connector
ret_path ISender
ctm_resp Brunet.Connections.ConnectToMessage
Résultat bool

StatusChangedHandler() protected méthode

protected StatusChangedHandler ( Connection c, ConnectionState>.Brunet oldnew ) : void
c Brunet.Connections.Connection
oldnew ConnectionState>.Brunet
Résultat void

StructuredNearConnectionOverlord() public méthode

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

TrimConnections() protected méthode

protected TrimConnections ( ) : void
Résultat void

Property Details

DESIRED_NEIGHBORS static_oe public_oe property

static public int DESIRED_NEIGHBORS
Résultat int

STRUC_NEAR static_oe protected_oe property

static protected string STRUC_NEAR
Résultat string

TRIM_DELAY static_oe protected_oe property

static protected double TRIM_DELAY
Résultat double

_DEFAULT_RETRY_INTERVAL static_oe protected_oe property

static protected TimeSpan,System _DEFAULT_RETRY_INTERVAL
Résultat System.TimeSpan

_MAX_RETRY_INTERVAL static_oe protected_oe property

static protected TimeSpan,System _MAX_RETRY_INTERVAL
Résultat System.TimeSpan

_active protected_oe property

protected int _active
Résultat int

_connectors protected_oe property

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

_current_retry_interval protected_oe property

protected TimeSpan,System _current_retry_interval
Résultat System.TimeSpan

_last_connection_time protected_oe property

protected DateTime,System _last_connection_time
Résultat System.DateTime

_last_retry_time protected_oe property

protected DateTime,System _last_retry_time
Résultat System.DateTime

_need_left protected_oe property

protected int _need_left
Résultat int

_need_right protected_oe property

protected int _need_right
Résultat int

_rand protected_oe property

protected Random,System _rand
Résultat System.Random

_start_time protected_oe property

protected DateTime,System _start_time
Résultat System.DateTime

_sync protected_oe property

protected object _sync
Résultat object

_ta_auth protected_oe static_oe property

protected static TAAuthorizer _ta_auth
Résultat TAAuthorizer