de.limdul.cassiopeia.control.metaserver.client
Class ConnectingMeta

java.lang.Object
  extended by de.limdul.cassiopeia.control.metaserver.client.MetaServerClientModus
      extended by de.limdul.cassiopeia.control.metaserver.client.ConnectingMeta
All Implemented Interfaces:
CassiopeiaListener, GameCommandListener, TCPCommandListener

public class ConnectingMeta
extends MetaServerClientModus

Modus, der angibt, dass sich der Client zu einem Metaserver verbindet.

Version:
$Revision: 69 $
Author:
Martin Köhler

Field Summary
 
Fields inherited from class de.limdul.cassiopeia.control.metaserver.client.MetaServerClientModus
CONNECTING, LOBBY, OPEN_GAME
 
Constructor Summary
ConnectingMeta()
          Erzeugt den Modus.
ConnectingMeta(boolean asBot, int slot)
          Erzeugt den Modus.
 
Method Summary
 int getType()
          Liefert den Typ des Modus.
 void parseGameCommand(GameCommand command)
          Verarbeitet ein GameCommand.
 void parseTCPCommand(TCPCommand command)
          Verarbeitet TCPCommand.
 
Methods inherited from class de.limdul.cassiopeia.control.metaserver.client.MetaServerClientModus
addExpectedGame, addExpectedTCP, clearExpectedGame, clearExpectedTCP, createNewModi, createNewModi, distributeCommand, getCommunicator, getEventHandler, getServerInfo, parseGameChatMessage, parseTCPChatMessage, sendCommand, setCommunicator, setEventHandler, shutdown, testGameCommand, testTCPCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectingMeta

public ConnectingMeta(boolean asBot,
                      int slot)
Erzeugt den Modus.

Parameters:
asBot - Ob sich als Bot verbunden werden soll
slot - Der Bot-Slot

ConnectingMeta

public ConnectingMeta()
Erzeugt den Modus.

Method Detail

getType

public int getType()
Description copied from class: MetaServerClientModus
Liefert den Typ des Modus.

Specified by:
getType in class MetaServerClientModus
Returns:
Der Typ des Modus.
See Also:
MetaServerClientModus.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)

parseGameCommand

public void parseGameCommand(GameCommand command)
Description copied from interface: GameCommandListener
Verarbeitet ein GameCommand.

Parameters:
command - Das GameCommand
See Also:
GameCommandListener.parseGameCommand(de.limdul.cassiopeia.control.gamecommands.GameCommand)