udt
Class ServerSession
java.lang.Object
udt.UDTSession
udt.ServerSession
public class ServerSession
- extends UDTSession
server side session in client-server mode
| Fields inherited from class udt.UDTSession |
active, cc, CC_CLASS, datagramSize, DEFAULT_DATAGRAM_SIZE, destination, flowWindowSize, handshaking, initialSequenceNumber, invalid, keepalive, localPort, mode, mySocketID, ready, receiveBufferSize, shutdown, socket, start, statistics |
| Methods inherited from class udt.UDTSession |
getCongestionControl, getDatagram, getDatagramSize, getDestination, getFlowWindowSize, getInitialSequenceNumber, getReceiveBufferSize, getSocket, getSocketID, getState, getStatistics, isActive, isReady, isShutdown, setActive, setDatagramSize, setFlowWindowSize, setInitialSequenceNumber, setMode, setReceiveBufferSize, setSocket, setState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerSession
public ServerSession(DatagramPacket dp,
UDPEndPoint endPoint)
throws SocketException,
UnknownHostException
- Throws:
SocketException
UnknownHostException
received
public void received(UDTPacket packet,
Destination peer)
- Specified by:
received in class UDTSession
sendResponseHandShake
protected void sendResponseHandShake(ConnectionHandshake handshake,
Destination peer)
throws IOException
- Throws:
IOException
Copyright © 2013 LittleShoot. All Rights Reserved.