de.limdul.cassiopeia.control.metaserver
Class MetaClientConnect
java.lang.Object
de.limdul.cassiopeia.control.metaserver.MetaModus
de.limdul.cassiopeia.control.metaserver.MetaClientConnect
- All Implemented Interfaces:
- CassiopeiaListener, GameCommandListener, TCPCommandListener
public class MetaClientConnect
- extends MetaModus
Modus, der angibt, dass sich gerade ein Client zu dem Server verbindet.
- Version:
- $Revision: 69 $
- Author:
- Martin Köhler
| Methods inherited from class de.limdul.cassiopeia.control.metaserver.MetaModus |
addClient, addExpectedTCP, clearExpectedTCP, createModus, getEventHandler, getServer, isClient, parseGameCommand, removeClient, sendCommand, sendOptions, setConnection, setEventHandler, shutdown, testTCPCommand |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaClientConnect
public MetaClientConnect(EventHandler handler,
MetaServer server)
- Erzeugt den Modus.
- Parameters:
handler - Der Ereignisshandlerserver - Der Server
getType
public int getType()
- Description copied from class:
MetaModus
- Liefert den Typ des Modus.
- Specified by:
getType in class MetaModus
- Returns:
- Der Typ des Modus.
- See Also:
MetaModus.getType()
parseTCPCommand
public void parseTCPCommand(TCPCommand command)
- Description copied from interface:
TCPCommandListener
- Verarbeitet
TCPCommand.
- Parameters:
command - Das TCPCommand.- See Also:
TCPCommandListener.parseTCPCommand(de.limdul.cassiopeia.control.tcpip.commands.TCPCommand)
init
public void init()
- Description copied from class:
MetaModus
- Initialisiert den Modus.
- Specified by:
init in class MetaModus
- See Also:
MetaModus.init()