public class Net
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Net.GameData |
protected static class |
Net.PlayerInfoData |
protected class |
Net.SwappableInputStream |
protected class |
Net.SwappableOutputStream |
protected static class |
Net.TableData |
protected class |
Net.XML_Parser |
| Modifier and Type | Field and Description |
|---|---|
static int |
GGZ_CS_PROTO_VERSION |
protected static java.util.logging.Logger |
log |
protected Server |
server |
protected java.io.OutputStream |
serverXMLTrace |
protected java.util.Stack |
stack |
protected Net.SwappableInputStream |
streamIn |
protected Net.SwappableOutputStream |
streamOut |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handle_about(XMLElement element) |
protected void |
handle_allow(XMLElement element) |
protected void |
handle_bot(XMLElement element) |
protected void |
handle_chat(XMLElement element) |
protected void |
handle_desc(XMLElement element) |
protected void |
handle_game(XMLElement element) |
protected void |
handle_info(XMLElement element) |
protected void |
handle_join(XMLElement element) |
protected void |
handle_leave(XMLElement element) |
protected void |
handle_list(XMLElement element) |
protected void |
handle_motd(XMLElement element) |
protected void |
handle_options(XMLElement element) |
protected void |
handle_password(XMLElement element) |
protected void |
handle_ping(XMLElement element) |
protected void |
handle_player(XMLElement element) |
protected void |
handle_playerinfo(XMLElement element) |
protected void |
handle_protocol(XMLElement element) |
protected void |
handle_result(XMLElement element) |
protected void |
handle_room(XMLElement element) |
protected void |
handle_seat(XMLElement element) |
protected void |
handle_server(XMLElement element) |
protected void |
handle_session(XMLElement element) |
protected void |
handle_spectator_seat(XMLElement element) |
protected void |
handle_table(XMLElement element) |
protected void |
handle_update(XMLElement element) |
void |
run()
Main message pump.
|
protected static final java.util.logging.Logger log
public static final int GGZ_CS_PROTO_VERSION
protected Server server
protected Net.SwappableOutputStream streamOut
protected Net.SwappableInputStream streamIn
protected java.util.Stack stack
protected java.io.OutputStream serverXMLTrace
protected void handle_server(XMLElement element) throws java.io.IOException
java.io.IOExceptionprotected void handle_options(XMLElement element)
protected void handle_motd(XMLElement element)
protected void handle_result(XMLElement element)
protected void handle_password(XMLElement element)
protected void handle_list(XMLElement element)
protected void handle_update(XMLElement element) throws java.io.IOException
java.io.IOExceptionprotected void handle_game(XMLElement element)
protected void handle_protocol(XMLElement element)
protected void handle_allow(XMLElement element)
protected void handle_about(XMLElement element)
protected void handle_bot(XMLElement element)
protected void handle_desc(XMLElement element)
protected void handle_room(XMLElement element)
protected void handle_player(XMLElement element)
protected void handle_table(XMLElement element)
protected void handle_seat(XMLElement element)
protected void handle_spectator_seat(XMLElement element)
protected void handle_leave(XMLElement element)
protected void handle_join(XMLElement element) throws java.io.IOException
java.io.IOExceptionprotected void handle_chat(XMLElement element)
protected void handle_info(XMLElement element)
protected void handle_playerinfo(XMLElement element)
protected void handle_ping(XMLElement element) throws java.io.IOException
java.io.IOExceptionprotected void handle_session(XMLElement element)
public void run()
run in interface java.lang.Runnable