C# Class Brunet.Simulator.Transport.SimulationEdge

Single-threaded edge listener for simulation purposes.
Inheritance: Edge
Exibir arquivo Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
Delay int
LocalID int
Partner SimulationEdge
RemoteID int
SimEL SimulationEdgeListener

Protected Properties

Property Type Description
_local_ta Brunet.Transport.TransportAddress
_remote_ta Brunet.Transport.TransportAddress
_ta_type TransportAddress.TAType

Public Methods

Method Description
Push ( Brunet p ) : void

Receive data from the remote end point.

SimulationEdge ( IEdgeSendHandler s, int local_id, int remote_id, bool is_in ) : System
SimulationEdge ( IEdgeSendHandler s, int local_id, int remote_id, bool is_in, int delay ) : System
SimulationEdge ( IEdgeSendHandler s, int local_id, int remote_id, bool is_in, int delay, TransportAddress type ) : System

Protected Methods

Method Description
DelayedPush ( object o ) : void
GetTransportAddress ( int id ) : TransportAddress

Method Details

DelayedPush() protected method

protected DelayedPush ( object o ) : void
o object
return void

GetTransportAddress() protected method

protected GetTransportAddress ( int id ) : TransportAddress
id int
return Brunet.Transport.TransportAddress

Push() public method

Receive data from the remote end point.
public Push ( Brunet p ) : void
p Brunet
return void

SimulationEdge() public method

public SimulationEdge ( IEdgeSendHandler s, int local_id, int remote_id, bool is_in ) : System
s IEdgeSendHandler
local_id int
remote_id int
is_in bool
return System

SimulationEdge() public method

public SimulationEdge ( IEdgeSendHandler s, int local_id, int remote_id, bool is_in, int delay ) : System
s IEdgeSendHandler
local_id int
remote_id int
is_in bool
delay int
return System

SimulationEdge() public method

public SimulationEdge ( IEdgeSendHandler s, int local_id, int remote_id, bool is_in, int delay, TransportAddress type ) : System
s IEdgeSendHandler
local_id int
remote_id int
is_in bool
delay int
type Brunet.Transport.TransportAddress
return System

Property Details

Delay public_oe property

public int Delay
return int

LocalID public_oe property

public int LocalID
return int

Partner public_oe property

public SimulationEdge Partner
return SimulationEdge

RemoteID public_oe property

public int RemoteID
return int

SimEL public_oe property

public SimulationEdgeListener SimEL
return SimulationEdgeListener

_local_ta protected_oe property

protected TransportAddress,Brunet.Transport _local_ta
return Brunet.Transport.TransportAddress

_remote_ta protected_oe property

protected TransportAddress,Brunet.Transport _remote_ta
return Brunet.Transport.TransportAddress

_ta_type protected_oe property

protected TransportAddress.TAType _ta_type
return TransportAddress.TAType