C# Class Brunet.Services.Coordinate.NCService

Inheritance: IRpcHandler
ファイルを表示 Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Property Type Description
DAMPENING_FRACTION double
ERROR_FRACTION double
INITIAL_WEIGHTED_ERROR double
SAMPLE_EXPIRATION long
SAMPLE_INTERVAL int
_current_trial TrialState
_hostname string
_last_sample_instant System.DateTime
_node Brunet.Node
_rpc RpcManager
_samples System.Collections.Hashtable
_sync object
_vivaldi_state VivaldiState

Public Methods

Method Description
ComputePathLatencyTo ( AHAddress a, object req_state ) : void
Echo ( ) : void
EchoVivaldiState ( ) : Hashtable
GetCheckpoint ( ) : string
GetMeasuredLatency ( Brunet.Address o_neighbor ) : double
HandleRpc ( ISender caller, string method, IList args, object req_state ) : void
NCService ( ) : System

For testing purposes only

NCService ( Node node ) : System
NCService ( Node node, Point InitialPoint ) : System
NCService ( Node node, string InitialPoint ) : System
ProcessSample ( System.DateTime o_stamp, string o_host, Brunet.Address o_neighbor, Point o_position, double o_weightedError, double o_rawLatency ) : void

Protected Methods

Method Description
GetNextSample ( object node, EventArgs args ) : void

Method Details

ComputePathLatencyTo() public method

public ComputePathLatencyTo ( AHAddress a, object req_state ) : void
a AHAddress
req_state object
return void

Echo() public method

public Echo ( ) : void
return void

EchoVivaldiState() public method

public EchoVivaldiState ( ) : Hashtable
return System.Collections.Hashtable

GetCheckpoint() public method

public GetCheckpoint ( ) : string
return string

GetMeasuredLatency() public method

public GetMeasuredLatency ( Brunet.Address o_neighbor ) : double
o_neighbor Brunet.Address
return double

GetNextSample() protected method

protected GetNextSample ( object node, EventArgs args ) : void
node object
args System.EventArgs
return void

HandleRpc() public method

public HandleRpc ( ISender caller, string method, IList args, object req_state ) : void
caller ISender
method string
args IList
req_state object
return void

NCService() public method

For testing purposes only
public NCService ( ) : System
return System

NCService() public method

public NCService ( Node node ) : System
node Brunet.Node
return System

NCService() public method

public NCService ( Node node, Point InitialPoint ) : System
node Brunet.Node
InitialPoint Point
return System

NCService() public method

public NCService ( Node node, string InitialPoint ) : System
node Brunet.Node
InitialPoint string
return System

ProcessSample() public method

public ProcessSample ( System.DateTime o_stamp, string o_host, Brunet.Address o_neighbor, Point o_position, double o_weightedError, double o_rawLatency ) : void
o_stamp System.DateTime
o_host string
o_neighbor Brunet.Address
o_position Point
o_weightedError double
o_rawLatency double
return void

Property Details

DAMPENING_FRACTION protected_oe static_oe property

protected static double DAMPENING_FRACTION
return double

ERROR_FRACTION protected_oe static_oe property

protected static double ERROR_FRACTION
return double

INITIAL_WEIGHTED_ERROR protected_oe static_oe property

protected static double INITIAL_WEIGHTED_ERROR
return double

SAMPLE_EXPIRATION protected_oe static_oe property

protected static long SAMPLE_EXPIRATION
return long

SAMPLE_INTERVAL protected_oe static_oe property

protected static int SAMPLE_INTERVAL
return int

_current_trial protected_oe property

protected TrialState _current_trial
return TrialState

_hostname protected_oe static_oe property

protected static string _hostname
return string

_last_sample_instant protected_oe property

protected DateTime,System _last_sample_instant
return System.DateTime

_node protected_oe property

protected Node,Brunet _node
return Brunet.Node

_rpc protected_oe property

protected RpcManager _rpc
return RpcManager

_samples protected_oe property

protected Hashtable,System.Collections _samples
return System.Collections.Hashtable

_sync protected_oe property

protected object _sync
return object

_vivaldi_state protected_oe property

protected VivaldiState _vivaldi_state
return VivaldiState