cgl.narada.transport.tcp
Class TCPServerThread
java.lang.Object
java.lang.Thread
cgl.narada.transport.tcp.TCPServerThread
- All Implemented Interfaces:
- TransportDebugFlags, Runnable
public class TCPServerThread
- extends Thread
- implements TransportDebugFlags
This is used by the broker process to set up a ServerSocket at the port
number that is specified. This class accepts connections from clients and and
is responsible for passing inbound connection information to the
TCPLinkFactory, which then registers the inbound link to its list of managed
links.
| 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 |
TCPServerThread
public TCPServerThread(int portNum)
throws TransportException
- Throws:
TransportException
TCPServerThread
public TCPServerThread(int portNum,
TCPLinkFactory tcpFactory)
throws TransportException
- Throws:
TransportException
closeServerSocket
public void closeServerSocket()
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
main
public static void main(String[] args)
For comments and suggestions please send
e-mail to
The NaradaBrokering Project