|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapi.Task
tasks.DistributedChatServerTask
public class DistributedChatServerTask
The Task that starts a distributed chat server. This just starts a listening server and then delegates to ChatServer for all chat logic.
Constructor Summary | |
---|---|
DistributedChatServerTask()
|
Method Summary | |
---|---|
java.lang.Object |
run()
Method to run the task. |
Methods inherited from class api.Task |
---|
broadcastMessage, getComputerId, getId, getListenPort, getMessage, getRouterSocketChannel, setComputer, setId, setListenPort, unicastMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistributedChatServerTask()
Method Detail |
---|
public java.lang.Object run()
Task
run
in class Task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |