ggz.client.core
Class Net
java.lang.Object
ggz.client.core.Net
- All Implemented Interfaces:
- java.lang.Runnable
public class Net
- extends java.lang.Object
- implements java.lang.Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final java.util.logging.Logger log
GGZ_CS_PROTO_VERSION
public static final int GGZ_CS_PROTO_VERSION
- See Also:
- Constant Field Values
server
protected Server server
streamOut
protected Net.SwappableOutputStream streamOut
streamIn
protected Net.SwappableInputStream streamIn
stack
protected java.util.Stack stack
serverXMLTrace
protected java.io.OutputStream serverXMLTrace
handle_server
protected void handle_server(XMLElement element)
throws java.io.IOException
- Throws:
java.io.IOException
handle_options
protected void handle_options(XMLElement element)
handle_motd
protected void handle_motd(XMLElement element)
handle_result
protected void handle_result(XMLElement element)
handle_password
protected void handle_password(XMLElement element)
handle_list
protected void handle_list(XMLElement element)
handle_update
protected void handle_update(XMLElement element)
throws java.io.IOException
- Throws:
java.io.IOException
handle_game
protected void handle_game(XMLElement element)
handle_protocol
protected void handle_protocol(XMLElement element)
handle_allow
protected void handle_allow(XMLElement element)
handle_about
protected void handle_about(XMLElement element)
handle_bot
protected void handle_bot(XMLElement element)
handle_desc
protected void handle_desc(XMLElement element)
handle_room
protected void handle_room(XMLElement element)
handle_player
protected void handle_player(XMLElement element)
handle_table
protected void handle_table(XMLElement element)
handle_seat
protected void handle_seat(XMLElement element)
handle_spectator_seat
protected void handle_spectator_seat(XMLElement element)
handle_leave
protected void handle_leave(XMLElement element)
handle_join
protected void handle_join(XMLElement element)
throws java.io.IOException
- Throws:
java.io.IOException
handle_chat
protected void handle_chat(XMLElement element)
handle_info
protected void handle_info(XMLElement element)
handle_playerinfo
protected void handle_playerinfo(XMLElement element)
handle_ping
protected void handle_ping(XMLElement element)
throws java.io.IOException
- Throws:
java.io.IOException
handle_session
protected void handle_session(XMLElement element)
run
public void run()
- Main message pump.
- Specified by:
run
in interface java.lang.Runnable