com.croftsoft.apps.mars.net
Class MarsServer

java.lang.Object
  extended by com.croftsoft.apps.mars.net.MarsServer
All Implemented Interfaces:
Commissionable, Destroyable, Initializable, Server

public final class MarsServer
extends Object
implements Commissionable, Server

Mars server.

Since:
2003-05-13
Version:
2003-06-13
Author:
David Wallace Croft

Constructor Summary
MarsServer(String primaryFilename, String fallbackFilename)
           
 
Method Summary
 void destroy()
           
 void init()
           
 Object serve(Object requestObject)
          Processes a request.
 void setGameInitAccessor(GameInitAccessor gameInitAccessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarsServer

public MarsServer(String primaryFilename,
                  String fallbackFilename)
Method Detail

setGameInitAccessor

public void setGameInitAccessor(GameInitAccessor gameInitAccessor)

init

public void init()
Specified by:
init in interface Initializable

serve

public Object serve(Object requestObject)
Description copied from interface: com.croftsoft.core.role.Server
Processes a request.

Specified by:
serve in interface Server
Returns:
Returns a response Object or null.

destroy

public void destroy()
Specified by:
destroy in interface Destroyable

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)