Package peersim.transport

Classes and interfaces for simulating transport-level communication in overlay networks.

See:
          Description

Interface Summary
RouterInfo Generic interface to be implemented by protocols that need to be assigned to routers.
Transport This interface represents a generic transport protocol, used to send messages through the underlying network.
 

Class Summary
E2ENetwork This static singleton emulates an underlying router network of fixed size, and stores the latency measurements for all pairs of routers.
E2ETransport This transport protocol is based on the E2ENetwork class.
KingParser Initializes static singleton E2ENetwork by reading a king data set.
TriangularMatrixParser Initializes static singleton E2ENetwork by reading a trace file containing the latency distance measured between a set of "virtual" routers.
UniformRandomTransport Implement a transport layer that reliably delivers messages with a random delay, that is drawn from the configured interval according to the uniform distribution.
UniformRouterAssignment Initializes RouterInfo protocols by assigning routers to them.
UnreliableTransport This transport protocol can be combined with other transports to simulate message losses.
 

Package peersim.transport Description

Classes and interfaces for simulating transport-level communication in overlay networks. This is achieved by classes implementing the interface Transport, that are repsonsible for modeling message delay, message omissions, etc

It is also possible to use models of the underlying router network to determine latency (E2ETransport). This model is stored in static singleton E2ENetwork. This class can be initialized by controls using eg measurement data (KingParser). To be usable, nodes must be assigned to routers. An example control that does that is UniformRouterAssignment.