Package HappyChat :: Module HappyChatProtocol :: Class HappylolPendingProtocol
[show private | hide private]
[frames | no frames]

Class HappylolPendingProtocol

HappyChatTCPBasedProtocol --+
                            |
                           HappylolPendingProtocol


Distant site pending protocol, this protocol ask to a distant site the information about the given session
Method Summary
  do_pong(self, socket, element)
handle a pong request this is the first request ask by avatar client send a session_id.
  getWorld(self)
Get the world singleton
    Inherited from HappyChatTCPBasedProtocol
tuple of (method, Element). getCommand(self, data)
get the command of the raw XML structure
  onQuery(self, socket, data, world)
call on each query get the command to execute in the raw XML structure the executed action can me a method of this class or a function in a module in the actions package

Method Details

do_pong(self, socket, element)

handle a pong request this is the first request ask by avatar client send a session_id. For this distant access, the pong request have to be threaded. an http request is sent to the distant site, to take avatar information
Parameters:
element - The element created by parsing the received XML
           (type=Element)
Returns:
None

getWorld(self)

Get the world singleton

Generated by Epydoc 2.1 on Tue Sep 14 21:34:47 2004 http://epydoc.sf.net