Module Session :: Class ClientSession
[hide private]
[frames] | no frames]

Class ClientSession

source code

asyncore.dispatcher --+        
                      |        
     Network.Connection --+    
                          |    
              Task.Task --+    
                          |    
         MessageHandler --+    
                          |    
                BaseSession --+
                              |
                             ClientSession

Instance Methods [hide private]
 
__init__(self, engine) source code
 
handleClose(self) source code
 
handlePacket(self, packet) source code
 
run(self, ticks) source code

Inherited from BaseSession: __str__, disconnect, handleMessage, handleRegistration, isConnected, isPrimary, sendMessage, stopped

Inherited from Network.Connection: accept, close, connect, handleConnect, handle_close, handle_connect, handle_read, handle_write, sendPacket, setServer, writable

Inherited from asyncore.dispatcher: __getattr__, __repr__, add_channel, bind, create_socket, del_channel, handle_accept, handle_error, handle_expt, handle_expt_event, handle_read_event, handle_write_event, listen, log, log_info, readable, recv, send, set_reuse_addr, set_socket

Inherited from Task.Task: started

Inherited from MessageHandler: handleSessionClosed, handleSessionOpened

Class Variables [hide private]

Inherited from asyncore.dispatcher: accepting, addr, closing, connected, debug

Method Details [hide private]

__init__(self, engine)
(Constructor)

source code 
Overrides: BaseSession.__init__

handleClose(self)

source code 
Overrides: Network.Connection.handleClose

handlePacket(self, packet)

source code 
Overrides: Network.Connection.handlePacket

run(self, ticks)

source code 
Overrides: BaseSession.run