org.universAAL.kinect.adapter.communication.receiver
Class Worker
java.lang.Object
org.universAAL.kinect.adapter.communication.receiver.Worker
- All Implemented Interfaces:
- Runnable
public class Worker
- extends Object
- implements Runnable
This worker class reads a line from the given socket, then forwards it to a
message parser. Finally writes the response back.
Method Summary |
void |
run()
Runs the worker |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Worker
public Worker(Socket socket,
MessageParser parser)
run
public final void run()
- Runs the worker
- Specified by:
run
in interface Runnable
Copyright © 2014 universAAL Consortium. All Rights Reserved.