C# Class Brunet.Connections.Linker

Inheritance: Brunet.Concurrent.TaskWorker
Show file Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Property Type Description
_MAX_PARALLEL_ATTEMPTS int
_MAX_REMOTETAS int
_MAX_RESTARTS int
_MS_RESTART_TIME int
_added_cons int
_contype string
_cph_transfer_requests int
_hold_fire int
_last_lid int
_local_n Node
_maintype ConnectionType
_started int
_ta_queue Brunet.Concurrent.LockFreeQueue
_ta_to_restart_state System.Collections.Hashtable
_target Address
_task object
_task_queue Brunet.Concurrent.TaskQueue
_token string

Public Methods

Method Description
Linker ( Node local, Address target, ICollection target_list, string ct, string token ) : NUnit.Framework
Linker ( Node local, Address target, ICollection target_list, string ct, string token, string task_diff ) : NUnit.Framework
Start ( ) : void
ToString ( ) : string

Protected Methods

Method Description
EdgeWorkerHandler ( object edgeworker, EventArgs args ) : void
FinishCheckHandler ( object taskqueue, EventArgs args ) : void
GetRestartState ( TransportAddress ta ) : RestartState
LinkProtocolStateFinishHandler ( object olps, EventArgs args ) : void
NextTA ( ) : TransportAddress
RestartHandler ( object orss, EventArgs args ) : void
SetTarget ( ) : void
StartAttempt ( TransportAddress next_ta ) : TaskWorker

Method Details

EdgeWorkerHandler() protected method

protected EdgeWorkerHandler ( object edgeworker, EventArgs args ) : void
edgeworker object
args System.EventArgs
return void

FinishCheckHandler() protected method

protected FinishCheckHandler ( object taskqueue, EventArgs args ) : void
taskqueue object
args System.EventArgs
return void

GetRestartState() protected method

protected GetRestartState ( TransportAddress ta ) : RestartState
ta Brunet.Transport.TransportAddress
return RestartState

LinkProtocolStateFinishHandler() protected method

protected LinkProtocolStateFinishHandler ( object olps, EventArgs args ) : void
olps object
args System.EventArgs
return void

Linker() public method

public Linker ( Node local, Address target, ICollection target_list, string ct, string token ) : NUnit.Framework
local Node
target Address
target_list ICollection
ct string
token string
return NUnit.Framework

Linker() public method

public Linker ( Node local, Address target, ICollection target_list, string ct, string token, string task_diff ) : NUnit.Framework
local Node
target Address
target_list ICollection
ct string
token string
task_diff string
return NUnit.Framework

NextTA() protected method

protected NextTA ( ) : TransportAddress
return Brunet.Transport.TransportAddress

RestartHandler() protected method

protected RestartHandler ( object orss, EventArgs args ) : void
orss object
args System.EventArgs
return void

SetTarget() protected method

protected SetTarget ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartAttempt() protected method

protected StartAttempt ( TransportAddress next_ta ) : TaskWorker
next_ta Brunet.Transport.TransportAddress
return Brunet.Concurrent.TaskWorker

ToString() public method

public ToString ( ) : string
return string

Property Details

_MAX_PARALLEL_ATTEMPTS protected static property

protected static int _MAX_PARALLEL_ATTEMPTS
return int

_MAX_REMOTETAS protected static property

protected static int _MAX_REMOTETAS
return int

_MAX_RESTARTS protected static property

protected static int _MAX_RESTARTS
return int

_MS_RESTART_TIME protected static property

protected static int _MS_RESTART_TIME
return int

_added_cons protected property

protected int _added_cons
return int

_contype protected property

protected string _contype
return string

_cph_transfer_requests protected property

protected int _cph_transfer_requests
return int

_hold_fire protected property

protected int _hold_fire
return int

_last_lid protected static property

protected static int _last_lid
return int

_local_n protected property

protected Node _local_n
return Node

_maintype protected property

protected ConnectionType _maintype
return ConnectionType

_started protected property

protected int _started
return int

_ta_queue protected property

protected LockFreeQueue,Brunet.Concurrent _ta_queue
return Brunet.Concurrent.LockFreeQueue

_ta_to_restart_state protected property

protected Hashtable,System.Collections _ta_to_restart_state
return System.Collections.Hashtable

_target protected property

protected Address _target
return Address

_task protected property

protected object _task
return object

_task_queue protected property

protected TaskQueue,Brunet.Concurrent _task_queue
return Brunet.Concurrent.TaskQueue

_token protected property

protected string _token
return string