|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectggz.ui.PrivateChatDialog.ChatDialogManager
protected static class PrivateChatDialog.ChatDialogManager
| Field Summary | |
|---|---|
protected Room |
currentRoom
|
| Constructor Summary | |
|---|---|
protected |
PrivateChatDialog.ChatDialogManager()
|
| Method Summary | |
|---|---|
void |
chat_event(ChatEventData data)
Received a chat message of any kind. |
void |
player_count(int count)
The number of players in a room has arrived. |
void |
player_lag(Player player)
A player's lag (measure of connection speed) has been updated |
void |
player_list(java.util.List players)
The list of players in a room has arrived. |
void |
player_stats(Player player)
A player's stats have been updated. |
void |
room_enter(RoomChangeEventData data)
A player has entered the room with you. |
void |
room_leave(RoomChangeEventData data)
A player has left your room. |
void |
server_channel_connected()
Status event: a requested direct game connection has been established. |
void |
server_channel_fail(java.lang.String error)
Error: Failure during setup of direct connection to game server. |
void |
server_channel_ready()
Game channel is ready for read/write operations. |
void |
server_chat_fail(ErrorEventData data)
Error: A chat message could not be sent. |
void |
server_connect_fail(java.lang.String error)
Error: we have failed to connect to the server. |
void |
server_connected()
We have just made a connection to the server. |
void |
server_enter_fail(ErrorEventData data)
Error: we have tried to enter a room and failed. |
void |
server_enter_ok()
We have successfully entered a room. |
void |
server_list_rooms()
The room list arrived. |
void |
server_list_types()
The list of game types is available. |
void |
server_logged_out()
Logged out of the server. |
void |
server_login_fail(ErrorEventData data)
Error: login failure. |
void |
server_login_ok()
We have successfully logged in. |
void |
server_motd_loaded(MotdEventData data)
The MOTD has been read from the server and can be displayed. |
void |
server_negotiate_fail(java.lang.String error)
Error: negotiation failure. |
void |
server_negotiated()
We have negotiated a connection to the server. |
void |
server_net_error(java.lang.String error)
Error: a network (transmission) error occurred. |
void |
server_players_changed()
The number of players on the server has changed. |
void |
server_protocol_error(java.lang.String error)
Error: a communication protocol error occured. |
void |
server_rooms_changed()
A room has either been added, deleted or set to "closed". |
void |
server_state_changed()
The internal state of ggzcore has changed. |
void |
table_add(Table table)
A table has been created. |
void |
table_delete(Table table)
A table has been removed from the room. |
void |
table_join_fail(java.lang.String error)
Joining a table did not succeed. |
void |
table_joined(int table_index)
Your table join attempt has succeeded. |
void |
table_launch_fail(ErrorEventData data)
The table you tried to launch couldn't be launched |
void |
table_launched()
The table you tried to launch has launched! |
void |
table_leave_fail(java.lang.String error)
Your attempt to leave the table has failed. |
void |
table_left(TableLeaveEventData data)
You have successfully left the table you were at. |
void |
table_list()
Received the list of active tables. |
void |
table_update(Table table)
One of the tables in the current room has changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Room currentRoom
| Constructor Detail |
|---|
protected PrivateChatDialog.ChatDialogManager()
| Method Detail |
|---|
public void server_channel_connected()
ServerListener
server_channel_connected in interface ServerListenerggzcore_server_get_channel,
ggzcore_server_read_datapublic void server_channel_fail(java.lang.String error)
ServerListener
server_channel_fail in interface ServerListenerggzcore_server_read_datapublic void server_channel_ready()
ServerListener
server_channel_ready in interface ServerListenerggzcore_server_read_datapublic void server_chat_fail(ErrorEventData data)
ServerListener
server_chat_fail in interface ServerListenerdata - A pointer to a GGZErrorEventData.GGZErrorEventData,
ggzcore_server_read_datapublic void server_connect_fail(java.lang.String error)
ServerListener
server_connect_fail in interface ServerListenerggzcore_server_connectpublic void server_connected()
ServerListener
server_connected in interface ServerListenerggzcore_server_connectpublic void server_enter_fail(ErrorEventData data)
ServerListener
server_enter_fail in interface ServerListenerdata - A pointer to a GGZErrorEventData.GGZErrorEventData,
ggzcore_server_join_room,
ggzcore_server_read_datapublic void server_enter_ok()
ServerListener
server_enter_ok in interface ServerListenerggzcore_server_join_room,
ggzcore_server_read_datapublic void server_list_rooms()
ServerListener
server_list_rooms in interface ServerListenerggzcore_server_read_datapublic void server_rooms_changed()
ServerListener
server_rooms_changed in interface ServerListenerpublic void server_list_types()
ServerListener
server_list_types in interface ServerListenerggzcore_server_read_datapublic void server_logged_out()
ServerListener
server_logged_out in interface ServerListenerggzcore_server_read_datapublic void server_login_fail(ErrorEventData data)
ServerListener
server_login_fail in interface ServerListenerdata - A pointer to a GGZErrorEventData.GGZErrorEventData,
ggzcore_server_read_datapublic void server_login_ok()
ServerListener
server_login_ok in interface ServerListenerggzcore_server_login,
ggzcore_server_read_datapublic void server_motd_loaded(MotdEventData data)
ServerListener
server_motd_loaded in interface ServerListenerdata - Pointer to a GGZMotdEventData including the full MOTD text.ggzcore_server_motd,
ggzcore_server_read_data!public void server_negotiate_fail(java.lang.String error)
ServerListener
server_negotiate_fail in interface ServerListenerggzcore_server_read_datapublic void server_negotiated()
ServerListener
server_negotiated in interface ServerListenerggzcore_server_read_datapublic void server_net_error(java.lang.String error)
ServerListener
server_net_error in interface ServerListenerggzcore_server_read_datapublic void server_players_changed()
ServerListener
server_players_changed in interface ServerListenerggzcore_server_get_num_players,
ggzcore_server_read_datapublic void server_protocol_error(java.lang.String error)
ServerListener
server_protocol_error in interface ServerListenerggzcore_server_read_datapublic void server_state_changed()
ServerListener
server_state_changed in interface ServerListenerGGZStateID,
ggzcore_server_get_statepublic void chat_event(ChatEventData data)
RoomListener
chat_event in interface RoomListenerdata - The GGZChatEventData associated with the chat.GGZChatEventDatapublic void player_count(int count)
RoomListener
player_count in interface RoomListenercount - The number of players in the room.public void player_lag(Player player)
RoomListener
player_lag in interface RoomListenerplayer - The player whose lag has changed.ggzcore_player_get_lagpublic void player_list(java.util.List players)
RoomListener
player_list in interface RoomListenerplayers - The list of players.ggzcore_room_list_playerspublic void player_stats(Player player)
RoomListener
player_stats in interface RoomListenerplayer - The player whose stats have changed.void PLAYER_LIST,
ggzcore_player_get_record,
ggzcore_player_get_rating,
ggzcore_player_get_ranking,
ggzcore_player_get_highscorepublic void room_enter(RoomChangeEventData data)
RoomListener
room_enter in interface RoomListenerdata - A GGZRoomChangeEventData structure.public void room_leave(RoomChangeEventData data)
RoomListener
room_leave in interface RoomListenerdata - A GGZRoomChangeEventData structure.public void table_add(Table table)
RoomListener
table_add in interface RoomListenerpublic void table_delete(Table table)
RoomListener
table_delete in interface RoomListenerpublic void table_join_fail(java.lang.String error)
RoomListener
table_join_fail in interface RoomListenervoid TABLE_JOINEDpublic void table_joined(int table_index)
RoomListener
table_joined in interface RoomListenerggzcore_room_join_tablepublic void table_launch_fail(ErrorEventData data)
RoomListener
table_launch_fail in interface RoomListenerdata - A pointer to a GGZErrorEventDatavoid TABLE_LAUNCHEDpublic void table_launched()
RoomListener
table_launched in interface RoomListenerggzcore_room_launch_tablepublic void table_leave_fail(java.lang.String error)
RoomListener
table_leave_fail in interface RoomListenervoid TABLE_LEFTpublic void table_left(TableLeaveEventData data)
RoomListener
table_left in interface RoomListenerdata - The GGZTableLeaveEventData associated with the leave.ggzcore_room_leave_table,
GGZTableLeaveEventDatapublic void table_list()
RoomListener
table_list in interface RoomListenerggzcore_room_list_tablespublic void table_update(Table table)
RoomListener
table_update in interface RoomListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||