- rcvBuffer - Variable in class sime.tcp.Receiver
-
The receiver buffer to buffer the segments that arrive
out-of-sequence.
- rcvWindow - Variable in class sime.tcp.Segment
-
The size of the currently available space in the receiver's buffer
(used mostly for buffering out-of-order segments).
- rcvWindow - Variable in class sime.tcp.Sender
-
Last advertised size of the currently available space in the receiver's buffer.
- receiver - Variable in class sime.Endpoint
-
Created in the constructor; we assume a universal TCP receiver.
- Receiver - Class in sime.tcp
-
This class implements a simple TCP receiver protocol module.
I tried to follow the specification in
RFC 5681
and
RFC 2581
as closely as I could.
- Receiver(Endpoint, int) - Constructor for class sime.tcp.Receiver
-
Constructor.
- receiverEndpt - Variable in class sime.Simulator
-
- remoteEndpoint - Variable in class sime.Endpoint
-
Remote endpoint that established a TCP connection
with this local endpoint.
- REPORTING_LINKS - Static variable in class sime.Simulator
-
Simulator's reporting flag:
Reports the activities of communicaTtion links (
Link
).
- REPORTING_RECEIVERS - Static variable in class sime.Simulator
-
Simulator's reporting flag:
Reports the activities of
Receiver
.
- REPORTING_ROUTERS - Static variable in class sime.Simulator
-
Simulator's reporting flag:
Reports the activities of
Router
.
- REPORTING_RTO_ESTIMATE - Static variable in class sime.Simulator
-
Simulator's reporting flag:
Reports the activities of
RTOEstimator
.
- REPORTING_SENDERS - Static variable in class sime.Simulator
-
- REPORTING_SIMULATOR - Static variable in class sime.Simulator
-
Simulator's reporting flag:
Reports the activities of the simulator runtime environment.
- resetParametersToSlowStart() - Method in class sime.tcp.Sender
-
This method provides a single location to reset
the congestion parameters when the sender needs
to transition to the slow start state from another state.
- Router - Class in sime
-
This class is a simple simulation of a network router.
- Router(Simulator, String, int) - Constructor for class sime.Router
-
Constructor.
- router - Variable in class sime.Simulator
-
The router that intermediated between the TCP endpoints.
- Router.OutputPort - Class in sime
-
Inner class for router's output ports.
- Router.OutputPort(Link) - Constructor for class sime.Router.OutputPort
-
Constructor for the inner class.
- RTOEstimator - Class in sime.tcp
-
This class performs ongoing estimation of the TCP retransmission
timeout time.
- RTOEstimator(double) - Constructor for class sime.tcp.RTOEstimator
-
- RTOEstimator(double, double, double, double, double) - Constructor for class sime.tcp.RTOEstimator
-
The constructor initializes the variables for
the retransmit timer.
Note: The input parameters are given in
real time units (seconds) for user convenience,
and are converted in the constructor to
the simulator clock ticks.
- rtoEstimator - Variable in class sime.tcp.Sender
-
Retransmission timer (RTO) estimation;
performed after each new ACK is received.
- rtoTimer - Variable in class sime.tcp.Sender
-
- rtoTimerHandle - Variable in class sime.tcp.Sender
-
Handle to a running RTO timer (
Sender.rtoTimer
), so it can be canceled, if needed.
- run(ByteBuffer, int) - Method in class sime.Simulator
-
Runs the simulator for the given number of transmission rounds
(iterations), starting with the current iteration stored in
the parameter
Simulator.currentTime
.
Reports the outcomes of the individual transmissions.