cz.cuni.pogamut.communication
Interface MediatorGBInterface

All Known Implementing Classes:
Parser, RemoteParserForMediator

public interface MediatorGBInterface

Interface to the GameBots for sending commands from the Client.


Method Summary
 void closeGB()
          Close the connection to the GameBots, if any exists.
 void sendMessageToGB(java.lang.String msg)
          Sends message to the GameBots from the client.
 

Method Detail

sendMessageToGB

void sendMessageToGB(java.lang.String msg)
                     throws CantWriteException
Sends message to the GameBots from the client.

Throws:
CantWriteException - Can't send data to GameBot.

closeGB

void closeGB()
             throws CantCloseConnectionException
Close the connection to the GameBots, if any exists.

Throws:
CantCloseConnectionException