tasks
Class ChatRouterTask

java.lang.Object
  extended by api.Task
      extended by tasks.ChatRouterTask
All Implemented Interfaces:
java.io.Serializable

public class ChatRouterTask
extends Task

The task that starts a router server.

Author:
sean
See Also:
Serialized Form

Nested Class Summary
 class ChatRouterTask.ServerThread
           
 
Constructor Summary
ChatRouterTask()
           
 
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

ChatRouterTask

public ChatRouterTask()
Method Detail

run

public java.lang.Object run()
Description copied from class: Task
Method to run the task.

Specified by:
run in class Task
Returns:
Object result, pretty much anything