C# Class Brunet.Transport.FunctionEdgeListener

Inheritance: EdgeListener, IEdgeSendHandler
Show file Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Property Type Description
_is_started int
_listener_id int
_listener_map System.Collections.Hashtable
_ploss_prob double
_queue Brunet.Concurrent.LFBlockingQueue
_queue_thread Thread
_tas System.Collections.ArrayList

Public Methods

Method Description
CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
FunctionEdgeListener ( int id ) : Brunet
FunctionEdgeListener ( int id, double loss_prob, TAAuthorizer ta_auth ) : Brunet
HandleEdgeSend ( Edge from, Brunet.Util p ) : void
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
StartQueueProcessing ( ) : void

Method Details

CreateEdgeTo() public method

public CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
ta TransportAddress
ecb EdgeCreationCallback
return void

FunctionEdgeListener() public method

public FunctionEdgeListener ( int id ) : Brunet
id int
return Brunet

FunctionEdgeListener() public method

public FunctionEdgeListener ( int id, double loss_prob, TAAuthorizer ta_auth ) : Brunet
id int
loss_prob double
ta_auth TAAuthorizer
return Brunet

HandleEdgeSend() public method

public HandleEdgeSend ( Edge from, Brunet.Util p ) : void
from Edge
p Brunet.Util
return void

Start() public method

public Start ( ) : void
return void

StartQueueProcessing() protected method

protected StartQueueProcessing ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

_is_started protected property

protected int _is_started
return int

_listener_id protected property

protected int _listener_id
return int

_listener_map static protected property

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

_ploss_prob protected property

protected double _ploss_prob
return double

_queue protected property

protected LFBlockingQueue,Brunet.Concurrent _queue
return Brunet.Concurrent.LFBlockingQueue

_queue_thread protected property

protected Thread _queue_thread
return Thread

_tas protected property

protected ArrayList,System.Collections _tas
return System.Collections.ArrayList