tasks
Class DistributedChatServerTask

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

public class DistributedChatServerTask
extends Task

The Task that starts a distributed chat server. This just starts a listening server and then delegates to ChatServer for all chat logic.

Author:
sean
See Also:
Serialized Form

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

DistributedChatServerTask

public DistributedChatServerTask()
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