|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectudt.UDTSession
public abstract class UDTSession
| Field Summary | |
|---|---|
protected boolean |
active
|
protected CongestionControl |
cc
|
static String |
CC_CLASS
key for a system property defining the CC class to be used |
protected int |
datagramSize
Buffer size (i.e. |
static int |
DEFAULT_DATAGRAM_SIZE
|
protected Destination |
destination
remote UDT entity (address and socket ID) |
protected int |
flowWindowSize
flow window size, i.e. |
static int |
handshaking
|
protected Long |
initialSequenceNumber
|
static int |
invalid
|
static int |
keepalive
|
protected UDTPacket |
lastPacket
|
protected int |
localPort
local port |
protected int |
mode
|
protected long |
mySocketID
|
static int |
ready
|
protected int |
receiveBufferSize
|
static int |
shutdown
|
protected UDTSocket |
socket
|
static int |
start
|
protected UDTStatistics |
statistics
|
| Constructor Summary | |
|---|---|
UDTSession(String description,
Destination destination)
|
|
| Method Summary | |
|---|---|
CongestionControl |
getCongestionControl()
|
DatagramPacket |
getDatagram()
|
int |
getDatagramSize()
|
Destination |
getDestination()
|
int |
getFlowWindowSize()
|
long |
getInitialSequenceNumber()
|
int |
getReceiveBufferSize()
|
UDTSocket |
getSocket()
|
long |
getSocketID()
|
int |
getState()
|
UDTStatistics |
getStatistics()
|
boolean |
isActive()
|
boolean |
isReady()
|
boolean |
isShutdown()
|
abstract void |
received(UDTPacket packet,
Destination peer)
|
void |
setActive(boolean active)
|
void |
setDatagramSize(int datagramSize)
|
void |
setFlowWindowSize(int flowWindowSize)
|
void |
setInitialSequenceNumber(long initialSequenceNumber)
|
void |
setMode(int mode)
|
void |
setReceiveBufferSize(int bufferSize)
|
void |
setSocket(UDTSocket socket)
|
void |
setState(int state)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int mode
protected volatile boolean active
protected volatile UDTPacket lastPacket
public static final int start
public static final int handshaking
public static final int ready
public static final int keepalive
public static final int shutdown
public static final int invalid
protected volatile UDTSocket socket
protected final UDTStatistics statistics
protected int receiveBufferSize
protected final CongestionControl cc
protected int flowWindowSize
protected final Destination destination
protected int localPort
public static final int DEFAULT_DATAGRAM_SIZE
public static final String CC_CLASS
CongestionControl,
Constant Field Valuesprotected int datagramSize
protected Long initialSequenceNumber
protected final long mySocketID
| Constructor Detail |
|---|
public UDTSession(String description,
Destination destination)
| Method Detail |
|---|
public abstract void received(UDTPacket packet,
Destination peer)
public UDTSocket getSocket()
public CongestionControl getCongestionControl()
public int getState()
public void setMode(int mode)
public void setSocket(UDTSocket socket)
public void setState(int state)
public boolean isReady()
public boolean isActive()
public void setActive(boolean active)
public boolean isShutdown()
public Destination getDestination()
public int getDatagramSize()
public void setDatagramSize(int datagramSize)
public int getReceiveBufferSize()
public void setReceiveBufferSize(int bufferSize)
public int getFlowWindowSize()
public void setFlowWindowSize(int flowWindowSize)
public UDTStatistics getStatistics()
public long getSocketID()
public long getInitialSequenceNumber()
public void setInitialSequenceNumber(long initialSequenceNumber)
public DatagramPacket getDatagram()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||