Package HappyChat :: Module HappyServer
[show private | hide private]
[frames | no frames]

Module HappyChat.HappyServer

Classes
_HappyServer Server Singleton

Function Summary
_HappyServer HappyServer(id, hostname, port, protocol)
Return the _Happyserver singleton instance
  registerServer(id, hostname, port, protocol)
Register the HappyChat server for now, have to find an implementation to register multiple servers.
  run_server(id, hostname, port, protocol)
The main server function : Threaded

Function Details

HappyServer(id='HappyChat', hostname='localhost', port=1234, protocol=<class HappyChat.HappyChatProtocol.HappyChatDefaultProtoc...)

Return the _Happyserver singleton instance
Returns:
The unique instance of the _HappyServer class
           (type=_HappyServer)

registerServer(id, hostname, port, protocol)

Register the HappyChat server for now, have to find an implementation to register multiple servers. You can start your own server with your own protocol with using this function and comment its call in this __init__.py

run_server(id, hostname='localhost', port=1234, protocol=None)

The main server function : Threaded

Generated by Epydoc 2.1 on Sun Sep 19 21:40:09 2004 http://epydoc.sf.net