C# Class Brunet.Services.Coordinate.VivaldiTargetSelector

Inheritance: TargetSelector
Show file Open project: pstjuste/brunet

Protected Properties

Property Type Description
CHECKPOINT_INTERVAL int
MAX_REQUESTS int
_channel_to_state System.Collections.Hashtable
_checkpoint_file string
_checkpoint_thread Thread
_checkpoint_thread_finished int
_class_lock object
_nc_service NCService
_node Brunet.Node
_num_requests int
_query_list System.Collections.ArrayList
_sync object
_vts_nodes System.Collections.Hashtable

Public Methods

Method Description
ComputeCandidates ( Brunet.Address start, int range, TargetSelectorDelegate cb, Brunet.Address current ) : void
VivaldiTargetSelector ( Node n, NCService service ) : System

Protected Methods

Method Description
CheckpointThread ( ) : void
CloseHandler ( object o, EventArgs args ) : void
EnqueueHandler ( object o, EventArgs args ) : void

Method Details

CheckpointThread() protected static method

protected static CheckpointThread ( ) : void
return void

CloseHandler() protected method

protected CloseHandler ( object o, EventArgs args ) : void
o object
args System.EventArgs
return void

ComputeCandidates() public method

public ComputeCandidates ( Brunet.Address start, int range, TargetSelectorDelegate cb, Brunet.Address current ) : void
start Brunet.Address
range int
cb TargetSelectorDelegate
current Brunet.Address
return void

EnqueueHandler() protected method

protected EnqueueHandler ( object o, EventArgs args ) : void
o object
args System.EventArgs
return void

VivaldiTargetSelector() public method

public VivaldiTargetSelector ( Node n, NCService service ) : System
n Brunet.Node
service NCService
return System

Property Details

CHECKPOINT_INTERVAL protected static property

protected static int CHECKPOINT_INTERVAL
return int

MAX_REQUESTS protected static property

protected static int MAX_REQUESTS
return int

_channel_to_state protected property

protected Hashtable,System.Collections _channel_to_state
return System.Collections.Hashtable

_checkpoint_file protected static property

protected static string _checkpoint_file
return string

_checkpoint_thread protected static property

protected static Thread _checkpoint_thread
return Thread

_checkpoint_thread_finished protected static property

protected static int _checkpoint_thread_finished
return int

_class_lock protected static property

protected static object _class_lock
return object

_nc_service protected property

protected NCService,Brunet.Services.Coordinate _nc_service
return NCService

_node protected property

protected Node,Brunet _node
return Brunet.Node

_num_requests protected property

protected int _num_requests
return int

_query_list protected static property

protected static ArrayList,System.Collections _query_list
return System.Collections.ArrayList

_sync protected property

protected object _sync
return object

_vts_nodes protected static property

protected static Hashtable,System.Collections _vts_nodes
return System.Collections.Hashtable