C# Class Brunet.Symphony.StructuredShortcutConnectionOverlord

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

Méthodes publiques

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

Protected Properties

Свойство Type Description
MAX_DOUBT_BENEFITS int
STRUC_BYPASS string
STRUC_SHORT string
TRIM_DELAY double
_DEFAULT_RETRY_INTERVAL System.TimeSpan
_MAX_RETRY_INTERVAL System.TimeSpan
_active int
_current_retry_interval System.TimeSpan
_doubts_table System.Collections.Hashtable
_last_connection_time System.DateTime
_last_optimize_time System.DateTime
_last_retry_time System.DateTime
_need_bypass int
_need_short int
_rand System.Random
_shortcuts int
_start_time System.DateTime
_sum_con_lifetime double
_sync object
_ta_auth Brunet.Transport.TAAuthorizer
_target_selector TargetSelector
_trim_count int

Méthodes publiques

Méthode Description
Activate ( ) : void
StructuredShortcutConnectionOverlord ( Node n ) : System

Méthodes protégées

Méthode Description
CheckBypassCallback ( Address start, SortedList score_table, Address bp_address ) : void
CheckConnectionOptimality ( object node, EventArgs eargs ) : void
CheckShortcutCallback ( Address random_target, SortedList score_table, Address sc_address ) : void
CheckState ( object node, EventArgs eargs ) : void
ConnectHandler ( object contab, EventArgs eargs ) : void
CreateBypass ( ) : void
CreateBypassCallback ( Address start, SortedList score_table, Address current ) : void
CreateShortcut ( ) : void
CreateShortcutCallback ( Address start, SortedList score_table, Address current ) : void
DisconnectHandler ( object connectiontable, EventArgs args ) : void
IsConnectionOptimal ( Address curr_address, SortedList score_table, int max_rank ) : bool
TrimConnections ( ) : void

Method Details

Activate() public méthode

public Activate ( ) : void
Résultat void

CheckBypassCallback() protected méthode

protected CheckBypassCallback ( Address start, SortedList score_table, Address bp_address ) : void
start Address
score_table System.Collections.SortedList
bp_address Address
Résultat void

CheckConnectionOptimality() protected méthode

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

CheckShortcutCallback() protected méthode

protected CheckShortcutCallback ( Address random_target, SortedList score_table, Address sc_address ) : void
random_target Address
score_table System.Collections.SortedList
sc_address 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

CreateBypass() protected méthode

protected CreateBypass ( ) : void
Résultat void

CreateBypassCallback() protected méthode

protected CreateBypassCallback ( Address start, SortedList score_table, Address current ) : void
start Address
score_table System.Collections.SortedList
current Address
Résultat void

CreateShortcut() protected méthode

protected CreateShortcut ( ) : void
Résultat void

CreateShortcutCallback() protected méthode

protected CreateShortcutCallback ( Address start, SortedList score_table, Address current ) : void
start Address
score_table System.Collections.SortedList
current Address
Résultat void

DisconnectHandler() protected méthode

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

IsConnectionOptimal() protected méthode

protected IsConnectionOptimal ( Address curr_address, SortedList score_table, int max_rank ) : bool
curr_address Address
score_table System.Collections.SortedList
max_rank int
Résultat bool

StructuredShortcutConnectionOverlord() public méthode

public StructuredShortcutConnectionOverlord ( 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

MAX_DOUBT_BENEFITS protected_oe static_oe property

protected static int MAX_DOUBT_BENEFITS
Résultat int

OPTIMIZE_DELAY public_oe static_oe property

public static int OPTIMIZE_DELAY
Résultat int

STRUC_BYPASS static_oe protected_oe property

static protected string STRUC_BYPASS
Résultat string

STRUC_SHORT static_oe protected_oe property

static protected string STRUC_SHORT
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

_current_retry_interval protected_oe property

protected TimeSpan,System _current_retry_interval
Résultat System.TimeSpan

_doubts_table protected_oe property

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

_last_connection_time protected_oe property

protected DateTime,System _last_connection_time
Résultat System.DateTime

_last_optimize_time protected_oe property

protected DateTime,System _last_optimize_time
Résultat System.DateTime

_last_retry_time protected_oe property

protected DateTime,System _last_retry_time
Résultat System.DateTime

_need_bypass protected_oe property

protected int _need_bypass
Résultat int

_need_short protected_oe property

protected int _need_short
Résultat int

_rand protected_oe property

protected Random,System _rand
Résultat System.Random

_shortcuts protected_oe property

protected int _shortcuts
Résultat int

_start_time protected_oe property

protected DateTime,System _start_time
Résultat System.DateTime

_sum_con_lifetime protected_oe property

protected double _sum_con_lifetime
Résultat double

_sync protected_oe property

protected object _sync
Résultat object

_ta_auth protected_oe static_oe property

protected static TAAuthorizer,Brunet.Transport _ta_auth
Résultat Brunet.Transport.TAAuthorizer

_target_selector protected_oe property

protected TargetSelector,Brunet.Symphony _target_selector
Résultat TargetSelector

_trim_count protected_oe property

protected int _trim_count
Résultat int