ggz.client.mod
Interface ModGGZIO

All Known Implementing Classes:
EmbeddedIO, ModGGZSocketIO

public interface ModGGZIO


Method Summary
 void disconnect()
           
 void send_error(java.lang.String error)
           
 void send_launch()
           
 void send_msg_chat(java.lang.String player, java.lang.String chat_msg)
           
 void send_msg_info(java.util.List infos)
           
 void send_player(java.lang.String name, boolean is_spectator, int seat_num)
           
 void send_seat(Seat seat)
           
 void send_server_fd(java.net.Socket server_fd)
           
 void send_server(java.lang.String host, int port, java.lang.String handle)
           
 void send_spectator_seat(SpectatorSeat seat)
           
 void send_stats(Stat[] player_stats, Stat[] spectator_stats)
           
 

Method Detail

disconnect

void disconnect()
                throws java.io.IOException
Throws:
java.io.IOException

send_launch

void send_launch()
                 throws java.io.IOException
Throws:
java.io.IOException

send_server

void send_server(java.lang.String host,
                 int port,
                 java.lang.String handle)
                 throws java.io.IOException
Throws:
java.io.IOException

send_server_fd

void send_server_fd(java.net.Socket server_fd)
                    throws java.io.IOException
Throws:
java.io.IOException

send_player

void send_player(java.lang.String name,
                 boolean is_spectator,
                 int seat_num)
                 throws java.io.IOException
Throws:
java.io.IOException

send_seat

void send_seat(Seat seat)
               throws java.io.IOException
Throws:
java.io.IOException

send_spectator_seat

void send_spectator_seat(SpectatorSeat seat)
                         throws java.io.IOException
Throws:
java.io.IOException

send_msg_chat

void send_msg_chat(java.lang.String player,
                   java.lang.String chat_msg)
                   throws java.io.IOException
Throws:
java.io.IOException

send_error

void send_error(java.lang.String error)

send_stats

void send_stats(Stat[] player_stats,
                Stat[] spectator_stats)
                throws java.io.IOException
Throws:
java.io.IOException

send_msg_info

void send_msg_info(java.util.List infos)
                   throws java.io.IOException
Throws:
java.io.IOException