Module Session :: Class BaseSession
[show private | hide private]
[frames | no frames]

Class BaseSession

dispatcher --+    
             |    
    Connection --+
                 |
MessageHandler --+
                 |
          Task --+
                 |
                BaseSession

Known Subclasses:
ClientSession, ServerSession

Method Summary
  __init__(self, engine, broker, sock)
  __str__(self)
  disconnect(self)
  handleMessage(self, sender, message)
  handleRegistration(self)
  isConnected(self)
  isPrimary(self)
  run(self, ticks)
  sendMessage(self, message)
  stopped(self)
    Inherited from Connection
  accept(self, id)
  close(self)
  connect(self, host, port)
  handle_close(self)
  handle_connect(self)
  handle_read(self)
  handle_write(self)
  handleClose(self)
  handleConnect(self)
  handlePacket(self, packet)
  sendPacket(self, packet)
  setServer(self, server)
  writable(self)
    Inherited from dispatcher
  __getattr__(self, attr)
  __repr__(self)
  add_channel(self, map)
  bind(self, addr)
  create_socket(self, family, type)
  del_channel(self, map)
  handle_accept(self)
  handle_error(self)
  handle_expt(self)
  handle_expt_event(self)
  handle_read_event(self)
  handle_write_event(self)
  listen(self, num)
  log(self, message)
  log_info(self, message, type)
  readable(self)
  recv(self, buffer_size)
  send(self, data)
  set_reuse_addr(self)
  set_socket(self, sock, map)
    Inherited from Task
  started(self)
    Inherited from MessageHandler
  handleSessionClosed(self, session)
  handleSessionOpened(self, session)

Class Variable Summary
    Inherited from dispatcher
bool accepting = False
NoneType addr = None                                                                  
bool closing = False
bool connected = False
bool debug = False

Generated by Epydoc 2.1 on Thu Nov 23 23:40:42 2006 http://epydoc.sf.net