C# Class Brunet.Connections.Linker

Inheritance: Brunet.Concurrent.TaskWorker
Datei anzeigen 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_oe static_oe property

protected static int _MAX_PARALLEL_ATTEMPTS
return int

_MAX_REMOTETAS protected_oe static_oe property

protected static int _MAX_REMOTETAS
return int

_MAX_RESTARTS protected_oe static_oe property

protected static int _MAX_RESTARTS
return int

_MS_RESTART_TIME protected_oe static_oe property

protected static int _MS_RESTART_TIME
return int

_added_cons protected_oe property

protected int _added_cons
return int

_contype protected_oe property

protected string _contype
return string

_cph_transfer_requests protected_oe property

protected int _cph_transfer_requests
return int

_hold_fire protected_oe property

protected int _hold_fire
return int

_last_lid protected_oe static_oe property

protected static int _last_lid
return int

_local_n protected_oe property

protected Node _local_n
return Node

_maintype protected_oe property

protected ConnectionType _maintype
return ConnectionType

_started protected_oe property

protected int _started
return int

_ta_queue protected_oe property

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

_ta_to_restart_state protected_oe property

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

_target protected_oe property

protected Address _target
return Address

_task protected_oe property

protected object _task
return object

_task_queue protected_oe property

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

_token protected_oe property

protected string _token
return string