org.universAAL.kinect.adapter.communication.receiver
Class TCPServer
java.lang.Object
org.universAAL.kinect.adapter.communication.receiver.TCPServer
- All Implemented Interfaces:
- Runnable
public class TCPServer
- extends Object
- implements Runnable
This class serves as a TCP server which accepts connections, and creates
workers for communication.
Method Summary |
void |
run()
This method accepts clients and creates workers for every accepted
Socket. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCPServer
public TCPServer(int port,
IMessageBroker broker)
- Constructor
- Parameters:
port
- broker
-
run
public final void run()
- This method accepts clients and creates workers for every accepted
Socket.
- Specified by:
run
in interface Runnable
Copyright © 2014 universAAL Consortium. All Rights Reserved.