C# Class Brunet.Symphony.StructuredShortcutConnectionOverlord

Inheritance: Brunet.Connections.ConnectionOverlord
Datei anzeigen Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
DESIRED_NEIGHBORS int
OPTIMIZE_DELAY int

Protected Properties

Property 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

Public Methods

Method Description
Activate ( ) : void
StructuredShortcutConnectionOverlord ( Node n ) : System

Protected Methods

Method 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 method

public Activate ( ) : void
return void

CheckBypassCallback() protected method

protected CheckBypassCallback ( Address start, SortedList score_table, Address bp_address ) : void
start Address
score_table System.Collections.SortedList
bp_address Address
return void

CheckConnectionOptimality() protected method

protected CheckConnectionOptimality ( object node, EventArgs eargs ) : void
node object
eargs System.EventArgs
return void

CheckShortcutCallback() protected method

protected CheckShortcutCallback ( Address random_target, SortedList score_table, Address sc_address ) : void
random_target Address
score_table System.Collections.SortedList
sc_address Address
return void

CheckState() protected method

protected CheckState ( object node, EventArgs eargs ) : void
node object
eargs System.EventArgs
return void

ConnectHandler() protected method

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

CreateBypass() protected method

protected CreateBypass ( ) : void
return void

CreateBypassCallback() protected method

protected CreateBypassCallback ( Address start, SortedList score_table, Address current ) : void
start Address
score_table System.Collections.SortedList
current Address
return void

CreateShortcut() protected method

protected CreateShortcut ( ) : void
return void

CreateShortcutCallback() protected method

protected CreateShortcutCallback ( Address start, SortedList score_table, Address current ) : void
start Address
score_table System.Collections.SortedList
current Address
return void

DisconnectHandler() protected method

protected DisconnectHandler ( object connectiontable, EventArgs args ) : void
connectiontable object
args System.EventArgs
return void

IsConnectionOptimal() protected method

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

StructuredShortcutConnectionOverlord() public method

public StructuredShortcutConnectionOverlord ( Node n ) : System
n Node
return System

TrimConnections() protected method

protected TrimConnections ( ) : void
return void

Property Details

DESIRED_NEIGHBORS static_oe public_oe property

static public int DESIRED_NEIGHBORS
return int

MAX_DOUBT_BENEFITS protected_oe static_oe property

protected static int MAX_DOUBT_BENEFITS
return int

OPTIMIZE_DELAY public_oe static_oe property

public static int OPTIMIZE_DELAY
return int

STRUC_BYPASS static_oe protected_oe property

static protected string STRUC_BYPASS
return string

STRUC_SHORT static_oe protected_oe property

static protected string STRUC_SHORT
return string

TRIM_DELAY static_oe protected_oe property

static protected double TRIM_DELAY
return double

_DEFAULT_RETRY_INTERVAL static_oe protected_oe property

static protected TimeSpan,System _DEFAULT_RETRY_INTERVAL
return System.TimeSpan

_MAX_RETRY_INTERVAL static_oe protected_oe property

static protected TimeSpan,System _MAX_RETRY_INTERVAL
return System.TimeSpan

_active protected_oe property

protected int _active
return int

_current_retry_interval protected_oe property

protected TimeSpan,System _current_retry_interval
return System.TimeSpan

_doubts_table protected_oe property

protected Hashtable,System.Collections _doubts_table
return System.Collections.Hashtable

_last_connection_time protected_oe property

protected DateTime,System _last_connection_time
return System.DateTime

_last_optimize_time protected_oe property

protected DateTime,System _last_optimize_time
return System.DateTime

_last_retry_time protected_oe property

protected DateTime,System _last_retry_time
return System.DateTime

_need_bypass protected_oe property

protected int _need_bypass
return int

_need_short protected_oe property

protected int _need_short
return int

_rand protected_oe property

protected Random,System _rand
return System.Random

_shortcuts protected_oe property

protected int _shortcuts
return int

_start_time protected_oe property

protected DateTime,System _start_time
return System.DateTime

_sum_con_lifetime protected_oe property

protected double _sum_con_lifetime
return double

_sync protected_oe property

protected object _sync
return object

_ta_auth protected_oe static_oe property

protected static TAAuthorizer,Brunet.Transport _ta_auth
return Brunet.Transport.TAAuthorizer

_target_selector protected_oe property

protected TargetSelector,Brunet.Symphony _target_selector
return TargetSelector

_trim_count protected_oe property

protected int _trim_count
return int