ggz.client.mod
Interface ModTransactionHandler

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
Game

public interface ModTransactionHandler
extends java.util.EventListener


Method Summary
 void handle_boot(java.lang.String name)
          Boot a player
 void handle_bot(int seat_num)
          Put a bot into an open seat.
 void handle_chat(ChatType type, java.lang.String recipient, java.lang.String chat)
          A chat originating from the game client.
 void handle_error(java.lang.Throwable exception)
          There was an error communicating with the game client.
 void handle_info(int seat_num)
          Information about one or more players.
 void handle_open(int seat_num)
          Replace a bot/reserved seat with an open one.
 void handle_sit(int seat_num)
          Sit down (stop spectatin; join a seat)
 void handle_stand()
          Stand up (leave your seat; become a spectator)
 void handle_state(ModState prev)
          The game client has notified us of a state change.
 

Method Detail

handle_sit

void handle_sit(int seat_num)
                throws java.io.IOException
Sit down (stop spectatin; join a seat)

Throws:
java.io.IOException

handle_stand

void handle_stand()
                  throws java.io.IOException
Stand up (leave your seat; become a spectator)

Throws:
java.io.IOException

handle_boot

void handle_boot(java.lang.String name)
                 throws java.io.IOException
Boot a player

Throws:
java.io.IOException

handle_open

void handle_open(int seat_num)
                 throws java.io.IOException
Replace a bot/reserved seat with an open one.

Throws:
java.io.IOException

handle_bot

void handle_bot(int seat_num)
                throws java.io.IOException
Put a bot into an open seat.

Throws:
java.io.IOException

handle_chat

void handle_chat(ChatType type,
                 java.lang.String recipient,
                 java.lang.String chat)
                 throws java.io.IOException
A chat originating from the game client.

Throws:
java.io.IOException

handle_info

void handle_info(int seat_num)
                 throws java.io.IOException
Information about one or more players.

Throws:
java.io.IOException

handle_state

void handle_state(ModState prev)
                  throws java.io.IOException
The game client has notified us of a state change.

Throws:
java.io.IOException

handle_error

void handle_error(java.lang.Throwable exception)
There was an error communicating with the game client.