cgl.narada.transport.udp
Class UDPReceiverThread
java.lang.Object
java.lang.Thread
cgl.narada.transport.udp.UDPReceiverThread
- All Implemented Interfaces:
- TransportDebugFlags, Runnable
public class UDPReceiverThread
- extends Thread
- implements TransportDebugFlags
The receiver end of the UDP communications. Listens for datagram packets
arriving at a socket and performs various operations based on situations
arising during communications. These received packets are then encapsulated
into a specialized data structure and forwarded to the transport handler
implenetation residing in the transport layer.
| Fields inherited from interface cgl.narada.transport.TransportDebugFlags |
IPSecLink_Debug, IPSecLinkFactory_Debug, IPSecReceiverThread_Debug, IPSecSenderThread_Debug, IPSecServerThread_Debug, MulticastLink_Debug, MulticastLinkFactory_Debug, MulticastReceiverThread_Debug, MulticastSenderThread_Debug, NIOTCPLink_Debug, NIOTCPLinkFactory_Debug, NIOTCPReceiverThread_Debug, NIOTCPSenderThread_Debug, NIOTCPServerThread_Debug, PoolTCPLink_Debug, PoolTCPLinkFactory_Debug, PoolTCPLinkReceiver_Debug, PoolTCPLinkSender_Debug, PoolTCPServerThread_Debug, PTCPLink_Debug, PTCPLinkFactory_Debug, PTCPReceiverThread_Debug, PTCPSenderThread_Debug, PTCPServerThread_Debug, ReceiveTask_Debug, RTPLink_Debug, RTPLinkFactory_Debug, RTPReceiverThread_Debug, RTPSenderThread_Debug, SendTask_Debug, TCPLink_Debug, TCPLinkFactory_Debug, TCPReceiverThread_Debug, TCPSenderThread_Debug, TCPServerThread_Debug, TransmissionManager_Debug, TransportHandlerImpl_Debug, UDPLink_Debug, UDPLinkFactory_Debug, UDPReceiverThread_Debug, UDPSenderThread_Debug |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
MAX_PACKET_SIZE
public static final int MAX_PACKET_SIZE
- See Also:
- Constant Field Values
UDPReceiverThread
public UDPReceiverThread(DatagramSocket socket,
UDPLinkFactory udpLinkFactory,
UDPPingHandler udppinghandler)
setReceiveBufferSize
public static void setReceiveBufferSize(int size)
shutdownServices
public void shutdownServices()
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
getPercentageOfMemoryUtilized
public int getPercentageOfMemoryUtilized()
For comments and suggestions please send
e-mail to
The NaradaBrokering Project