feud.testgame
Class ServerEventManager

java.lang.Object
  extended byfeud.testgame.ServerEventManager

public class ServerEventManager
extends java.lang.Object

A helper class for the server to ease event processing. An event is send from the client to the server and processed there. This is what this class does.


Constructor Summary
ServerEventManager()
           
 
Method Summary
 DataContainer[] manageEvent(Event event, ServerObjectManager servMan, BlueThunderServer server, ClientInfo ci)
          Manages an event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerEventManager

public ServerEventManager()
Method Detail

manageEvent

public DataContainer[] manageEvent(Event event,
                                   ServerObjectManager servMan,
                                   BlueThunderServer server,
                                   ClientInfo ci)
Manages an event.

Parameters:
event - Event the event to manage
servMan - ServerObjectManager the server object manager that lives on this server
server - BlueThunderServer the actual server instance
ci - ClientInfo the client info of the client from which the event came from
Returns:
DataContainer[] an optional response. May be null (and usually is in the current implementation).