- Segment - Class in sime.tcp
-
TCP segment, which could carry either data, ACK, or both.
Note that this class implements java.lang.Comparable so that
TCP segments can be compared (and sorted) by their sequence
number.
- Segment(NetworkElement, int, int, byte[]) - Constructor for class sime.tcp.Segment
-
Constructor for data-only segments.
- Segment(NetworkElement, int, int) - Constructor for class sime.tcp.Segment
-
Constructor for acknowledgment-only segments (zero data payload).
- Segment(NetworkElement, int, int, byte[], int) - Constructor for class sime.tcp.Segment
-
Constructor for both data and acknowledgment segments,
i.e., an acknowledgment is piggybacked on a data segment
going to the same destination.
- send(NetworkElement, Packet) - Method in class sime.Endpoint
-
"Sends" segments by passing them to the network layer protocol object.
- send(NetworkElement, Packet) - Method in class sime.Link
-
The link just accepts any new packets given to it
and enqueues the new packet behind any existing packets.
- send(NetworkElement, Packet) - Method in class sime.NetworkElement
-
The method to send data from an upper-layer protocol.
Note that parameter
source_
is usually ignored
but
Link.send(NetworkElement, Packet)
uses it to
distinguish the nodes connected to its ends.
- send(NetworkElement, Packet) - Method in class sime.Router
-
Currently does nothing.
- send(byte[]) - Method in class sime.tcp.Sender
-
"Sends" segments by passing them to the network layer protocol object.
- sendCumulativeAcknowledgement() - Method in class sime.tcp.Receiver
-
Helper method to transmit a cumulative acknowledgment.
The TCP specification suggests that at least every other
acknowledgment should be sent.
- sender - Variable in class sime.Endpoint
-
The sender will be created in the constructor based on
the supplied type, such as Tahoe, Reno, etc.
- Sender - Class in sime.tcp
-
The base class for a TCP sender protocol module.
Because this is a simple simulator, some intricate details
of TCP senders are left out.
- Sender(Endpoint) - Constructor for class sime.tcp.Sender
-
Base class constructor; not public.
- sender - Variable in class sime.tcp.SenderState
-
TCP sender.
- senderEndpt - Variable in class sime.Simulator
-
Two endpoints of the TCP connection that will be simulated.
- SenderNewReno - Class in sime.tcp
-
The
NewReno version of the TCP sender was described in
RFC 2581
and clarified in
RFC 3782.
This is a highly simplified version of NewReno sender,
which is currently specified in
RFC 5681.
- SenderNewReno(Endpoint) - Constructor for class sime.tcp.SenderNewReno
-
Constructor.
- SenderReno - Class in sime.tcp
-
TCP old Reno implementation of a sender that appeared first
in early 1990s.
- SenderReno(Endpoint) - Constructor for class sime.tcp.SenderReno
-
Constructor.
- SenderState - Class in sime.tcp
-
This abstract class provides the TCP sender state interface.
Example sender states are: "slow start", "congestion avoidance",
"fast recovery", etc.
- SenderState() - Constructor for class sime.tcp.SenderState
-
- SenderStateCongestionAvoidance - Class in sime.tcp
-
This class defines how a TCP sender behaves in
the congestion avoidance state.
There are some subtleties in the actual TCP standard
that are not implemented here.
- SenderStateCongestionAvoidance(Sender, SenderState, SenderState) - Constructor for class sime.tcp.SenderStateCongestionAvoidance
-
Constructor for the congestion avoidance state of a TCP sender.
- SenderStateFastRecovery - Class in sime.tcp
-
TCP Reno sender's state Fast Recovery.
- SenderStateFastRecovery(Sender, SenderState, SenderState) - Constructor for class sime.tcp.SenderStateFastRecovery
-
Constructor for the fast recovery state of a TCP Reno sender.
- SenderStateSlowStart - Class in sime.tcp
-
This class defines how a TCP sender behaves in the slow start state.
- SenderStateSlowStart(Sender, SenderState, SenderState) - Constructor for class sime.tcp.SenderStateSlowStart
-
Constructor for the slow start state of a TCP sender.
- SenderTahoe - Class in sime.tcp
-
TCP Tahoe implementation of a sender.
- SenderTahoe(Endpoint) - Constructor for class sime.tcp.SenderTahoe
-
Constructor.
- setAckSequenceNumber(int) - Method in class sime.tcp.Segment
-
Attribute setter for the acknowledgment sequence number.
- setAfter3xDupACKstate(SenderState) - Method in class sime.tcp.SenderStateCongestionAvoidance
-
- setAfter3xDupACKstate(SenderState) - Method in class sime.tcp.SenderStateSlowStart
-
- setCongestionAvoidanceState(SenderState) - Method in class sime.tcp.SenderStateSlowStart
-
The reason for this method is that the constructors TCPSenderStateSlowStart
and TCPSenderStateCongestionAvoidance need each other, so one has to be
created first, and then the other will be set using this method.
Thus package visibility only.
- setLink(Link) - Method in class sime.Endpoint
-
Configures this endpoint with the adjoining
communication link object, the attribute
networkLayerProtocol
.
- setPropagationTime(double) - Method in class sime.Link
-
Parameter setter.
- setRemoteTCPendpoint(Endpoint) - Method in class sime.Endpoint
-
- setTime(double) - Method in class sime.TimerSimulated
-
- setTimeoutAt(TimerSimulated) - Method in class sime.Simulator
-
Allows a component to start a timer running.
- setTransmissionTime(double) - Method in class sime.Link
-
Parameter setter.
- sime - package sime
-
- sime.tcp - package sime.tcp
-
- simulator - Variable in class sime.NetworkElement
-
Object that provides the runtime environment,
mainly stuff related to the simulation clock,
such as timer management and the reference time.
- Simulator - Class in sime
-
- Simulator(String, int, int) - Constructor for class sime.Simulator
-
Constructor of the simple TCP congestion control simulator.
- slowStartState - Variable in class sime.tcp.SenderState
-
- SSThresh - Variable in class sime.tcp.Sender
-
The Slow-Start threshold is a dynamically-set value indicating
an upper bound on the congestion window above which a
TCP sender transitions from Slow-Start to the Congestion Avoidance
state.
- startIdleConnectionTimer() - Method in class sime.tcp.Sender
-
Helper method to start up the idle-connection timer countdown.
- startRTOtimer() - Method in class sime.tcp.Sender
-
Helper method, called from derived classes to start up
the retransmission (RTO) timer countdown.
- stdDevMultShift - Static variable in class sime.tcp.RTOEstimator
-