kaos.core.csi.util.tcpSupport
Class KAoSCSIServer
java.lang.Object
kaos.core.csi.util.tcpSupport.KAoSCSIServer
public class KAoSCSIServer
- extends java.lang.Object
This class is a TCP server that listens for clients and
provides them access to KAoS services through the CSI
interfaces using a KAoS CSI TCP protocol
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_serverSocket
protected java.net.ServerSocket _serverSocket
_serverRequestHandler
protected ServerRequestHandler _serverRequestHandler
KAoSCSIServer
public KAoSCSIServer()
throws java.io.IOException
- Throws:
java.io.IOException
KAoSCSIServer
public KAoSCSIServer(int port)
throws java.io.IOException
- Throws:
java.io.IOException
init
public void init(int iPort)
throws java.io.IOException
- Tries to start a socketserver on the specified port
and start a thread to listen for clients
- Parameters:
iPort
-
- Throws:
java.io.IOException
getMostRecentRequestHandler
public ServerRequestHandler getMostRecentRequestHandler()
main
public static void main(java.lang.String[] args)