Home | Trees | Index | Help |
---|
Package HappyChat :: Module HappyServer :: Class _HappyServer |
|
Factory
--+ |ServerFactory
--+ | _HappyServer
Server Singleton
can be call by the HappyServer methodMethod Summary | |
---|---|
| |
Create a chat session, get user information and store it in a temporary object before avatar creation. | |
tuple as (hostname, port)
|
get the server configuration to access to. |
return the server information as a dictionary list | |
boolean
|
State of the server |
The main server loop | |
Start the HappyChat Server | |
put the lock or wait | |
Construct the server structure | |
Stop the server | |
free the lock | |
Delete server structure XXX: will be use to store avatar informations in ZODB. | |
Inherited from Factory | |
Create an instance of a subclass of Protocol. | |
Make sure startFactory is called. | |
Make sure stopFactory is called. |
Class Variable Summary | |
---|---|
NoneType |
instance : Unique instance of the singleton |
NoneType |
protocol = None |
Inherited from Factory | |
tuple |
__implements__ = (<class 'twisted.internet.interfaces.IP...
|
str |
noisy = 'sure, why not'
|
int |
numPorts = 0 |
Method Details |
---|
__init__(self,
id,
hostname,
port,
protocol)
|
createSession(self, nickname)Create a chat session, get user information and store it in a temporary object before avatar creation.
|
getConfig(self)get the server configuration to access to.
|
getInfo(self)return the server information as a dictionary list |
isRuning(self)State of the server
|
run(self)The main server loop |
start(self)Start the HappyChat Server |
startExternalAccess(self)put the lock or wait |
startFactory(self)Construct the server structure |
stop(self)Stop the server |
stopExternalAccess(self)free the lock |
stopFactory(self)Delete server structure XXX: will be use to store avatar informations in ZODB. |
Class Variable Details |
---|
instanceUnique instance of the singleton
|
protocol
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sun Sep 19 21:40:09 2004 | http://epydoc.sf.net |