C# Class Brunet.Transport.SimulationEdgeListener

Inheritance: EdgeListener, IEdgeSendHandler
Afficher le fichier Open project: johnynek/brunet Class Usage Examples

Méthodes publiques

Свойство Type Description
LatencyMap List>

Protected Properties

Свойство Type Description
_ba BufferAllocator
_edges System.Collections.Hashtable
_is_started int
_listener_id int
_listener_map System.Collections.Hashtable
_ploss_prob double
_rand System.Random
_sync object
_tas System.Collections.ArrayList
_use_delay bool

Méthodes publiques

Méthode Description
CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
HandleEdgeSend ( Edge from, ICopyable p ) : void
SimulationEdgeListener ( int id ) : System
SimulationEdgeListener ( int id, double loss_prob, TAAuthorizer ta_auth ) : System
SimulationEdgeListener ( int id, double loss_prob, TAAuthorizer ta_auth, bool use_delay ) : System
Start ( ) : void
Stop ( ) : void

Méthodes protégées

Méthode Description
AddEdge ( Edge edge ) : void
CloseHandler ( object edge, EventArgs ea ) : void

Method Details

AddEdge() protected méthode

protected AddEdge ( Edge edge ) : void
edge Edge
Résultat void

CloseHandler() protected méthode

protected CloseHandler ( object edge, EventArgs ea ) : void
edge object
ea System.EventArgs
Résultat void

CreateEdgeTo() public méthode

public CreateEdgeTo ( TransportAddress ta, EdgeCreationCallback ecb ) : void
ta TransportAddress
ecb EdgeCreationCallback
Résultat void

HandleEdgeSend() public méthode

public HandleEdgeSend ( Edge from, ICopyable p ) : void
from Edge
p ICopyable
Résultat void

SimulationEdgeListener() public méthode

public SimulationEdgeListener ( int id ) : System
id int
Résultat System

SimulationEdgeListener() public méthode

public SimulationEdgeListener ( int id, double loss_prob, TAAuthorizer ta_auth ) : System
id int
loss_prob double
ta_auth TAAuthorizer
Résultat System

SimulationEdgeListener() public méthode

public SimulationEdgeListener ( int id, double loss_prob, TAAuthorizer ta_auth, bool use_delay ) : System
id int
loss_prob double
ta_auth TAAuthorizer
use_delay bool
Résultat System

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Property Details

LatencyMap public_oe static_oe property

public static List> LatencyMap
Résultat List>

_ba protected_oe property

protected BufferAllocator _ba
Résultat BufferAllocator

_edges protected_oe property

protected Hashtable,System.Collections _edges
Résultat System.Collections.Hashtable

_is_started protected_oe property

protected int _is_started
Résultat int

_listener_id protected_oe property

protected int _listener_id
Résultat int

_listener_map static_oe protected_oe property

static protected Hashtable,System.Collections _listener_map
Résultat System.Collections.Hashtable

_ploss_prob protected_oe property

protected double _ploss_prob
Résultat double

_rand protected_oe property

protected Random,System _rand
Résultat System.Random

_sync protected_oe property

protected object _sync
Résultat object

_tas protected_oe property

protected ArrayList,System.Collections _tas
Résultat System.Collections.ArrayList

_use_delay protected_oe property

protected bool _use_delay
Résultat bool