- read(byte[], int, int) - Method in class net.rudp.ReliableSocket
-
Reads up to len
bytes of data from the receiver
buffer into an array of bytes.
- receiveSegmentImpl() - Method in class net.rudp.ReliableServerSocket.ReliableClientSocket
-
- receiveSegmentImpl() - Method in class net.rudp.ReliableSocket
-
Reads in a segment from the underlying UDP socket.
- ReliableClientSocket(DatagramSocket, SocketAddress) - Constructor for class net.rudp.ReliableServerSocket.ReliableClientSocket
-
- ReliableServerSocket - Class in net.rudp
-
This class implements server sockets that use
the Simple Reliable UDP (RUDP) protocol.
- ReliableServerSocket() - Constructor for class net.rudp.ReliableServerSocket
-
Creates an unbound RUDP server socket.
- ReliableServerSocket(int) - Constructor for class net.rudp.ReliableServerSocket
-
Creates a RUDP server socket, bound to the specified port.
- ReliableServerSocket(int, int) - Constructor for class net.rudp.ReliableServerSocket
-
Creates a RUDP server socket and binds it to the specified local port, with
the specified backlog.
- ReliableServerSocket(int, int, InetAddress) - Constructor for class net.rudp.ReliableServerSocket
-
Creates a RUDP server socket and binds it to the specified local port and
IP address, with the specified backlog.
- ReliableServerSocket(DatagramSocket, int) - Constructor for class net.rudp.ReliableServerSocket
-
Creates a RUDP server socket attached to the specified UDP socket, with
the specified backlog.
- ReliableServerSocket.ReliableClientSocket - Class in net.rudp
-
- ReliableSocket - Class in net.rudp
-
This class implements client sockets that use
the Simple Reliable UDP (RUDP) protocol for
end-to-end communication between two machines.
- ReliableSocket() - Constructor for class net.rudp.ReliableSocket
-
Creates an unconnected RUDP socket with default RUDP parameters.
- ReliableSocket(ReliableSocketProfile) - Constructor for class net.rudp.ReliableSocket
-
Creates an unconnected RUDP socket and uses the given RUDP parameters.
- ReliableSocket(String, int) - Constructor for class net.rudp.ReliableSocket
-
Creates a RUDP socket and connects it to the specified port
number on the named host.
- ReliableSocket(InetAddress, int, InetAddress, int) - Constructor for class net.rudp.ReliableSocket
-
Creates a RUDP socket and connects it to the specified remote address on
the specified remote port.
- ReliableSocket(String, int, InetAddress, int) - Constructor for class net.rudp.ReliableSocket
-
Creates a RUDP socket and connects it to the specified remote host on
the specified remote port.
- ReliableSocket(InetSocketAddress, InetSocketAddress) - Constructor for class net.rudp.ReliableSocket
-
Creates a RUDP socket and connects it to the specified remote address.
- ReliableSocket(DatagramSocket) - Constructor for class net.rudp.ReliableSocket
-
Creates a RUDP socket and attaches it to the underlying datagram socket.
- ReliableSocket(DatagramSocket, ReliableSocketProfile) - Constructor for class net.rudp.ReliableSocket
-
Creates a RUDP socket and attaches it to the underlying
datagram socket using the given RUDP parameters.
- ReliableSocketListener - Interface in net.rudp
-
The listener interface for receiving packet events.
- ReliableSocketProfile - Class in net.rudp
-
This class specifies the RUDP parameters of a socket.
- ReliableSocketProfile() - Constructor for class net.rudp.ReliableSocketProfile
-
Creates a profile with the default RUDP parameter values.
- ReliableSocketProfile(int, int, int, int, int, int, int, int, int, int, int) - Constructor for class net.rudp.ReliableSocketProfile
-
Creates an profile with the specified RUDP parameter values.
- ReliableSocketStateListener - Interface in net.rudp
-
The listener interface for receiving socket events.
- removeListener(ReliableSocketListener) - Method in class net.rudp.ReliableSocket
-
Removes the specified listener from this socket.
- removeStateListener(ReliableSocketStateListener) - Method in class net.rudp.ReliableSocket
-
Removes the specified state listener from this socket.
- reset() - Method in class net.rudp.ReliableSocket
-
Resets the socket state.
- reset(ReliableSocketProfile) - Method in class net.rudp.ReliableSocket
-
Resets the socket state and profile.
- RETRANSMISSION_TIMEOUT - Static variable in class net.rudp.ReliableSocketProfile
-
- retransmissionTimeout() - Method in class net.rudp.ReliableSocketProfile
-
Returns the retransmission timeout (ms).