dimawo.middleware.communication.server
Class ServerLoop
java.lang.Object
dimawo.middleware.communication.server.ServerLoop
- All Implemented Interfaces:
- Runnable
public class ServerLoop
- extends Object
- implements Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerLoop
public ServerLoop(int port,
ErrorHandler com,
ConnectionHandler cH,
SocketFactory sockFact)
throws IOException
- Throws:
IOException
getPort
public int getPort()
start
public void start()
- Starts the server.
stop
public void stop()
- Requests the server to stop.
- Throws:
InterruptedException
join
public void join()
throws InterruptedException
- Throws:
InterruptedException
run
public void run()
- Specified by:
run
in interface Runnable
isStopped
public boolean isStopped()
Copyright © 2011 DiMaWo Team. All Rights Reserved.