com.croftsoft.apps.mars.net
Class Synchronizer

java.lang.Object
  extended by com.croftsoft.apps.mars.net.Synchronizer
All Implemented Interfaces:
GameAccessor, Commissionable, Destroyable, Initializable, Lifecycle, Resumable, Startable, Stoppable

public final class Synchronizer
extends Object
implements GameAccessor, Lifecycle

Network synchronizer.

Since:
2003-04-06
Version:
2003-06-02
Author:
David Wallace Croft

Constructor Summary
Synchronizer(String playerName, URL codeBaseURL)
           
 
Method Summary
 void destroy()
           
 int getLevel()
           
 Iterator getPath()
           
 TankAccessor getPlayerTankAccessor()
           
 WorldAccessor getWorldAccessor()
           
 void init()
           
 void replace(Object o)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Synchronizer

public Synchronizer(String playerName,
                    URL codeBaseURL)
             throws IOException,
                    MalformedURLException
Throws:
IOException
MalformedURLException
Method Detail

replace

public void replace(Object o)

getLevel

public int getLevel()
Specified by:
getLevel in interface GameAccessor

getPath

public Iterator getPath()
Specified by:
getPath in interface GameAccessor

getPlayerTankAccessor

public TankAccessor getPlayerTankAccessor()
Specified by:
getPlayerTankAccessor in interface GameAccessor

getWorldAccessor

public WorldAccessor getWorldAccessor()
Specified by:
getWorldAccessor in interface GameAccessor

init

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

start

public void start()
Specified by:
start in interface Startable

stop

public void stop()
Specified by:
stop in interface Stoppable

destroy

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

CroftSoft Javadoc

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