Chat example


Classes

class  ChatApplication
 A chat demo application. More...
class  ChatEvent
 Encapsulate a chat event. More...
class  SimpleChatServer
 A simple chat server. More...
class  SimpleChatWidget
 A self-contained chat widget. More...

Functions

WApplicationcreateApplication (const WEnvironment &env)
int main (int argc, char **argv)
 ChatApplication::ChatApplication (const WEnvironment &env)
 Create a new instance.
void ChatApplication::addChatWidget ()
 Add another chat client.

Variables

SimpleChatServer theServer
 The single chat server instance.

Function Documentation

void ChatApplication::addChatWidget (  )  [private, inherited]

Add another chat client.

Definition at line 60 of file simpleChat.C.

ChatApplication::ChatApplication ( const WEnvironment env  )  [inherited]

Create a new instance.

Definition at line 41 of file simpleChat.C.

WApplication* createApplication ( const WEnvironment env  ) 

Definition at line 66 of file simpleChat.C.

int main ( int  argc,
char **  argv 
)

Definition at line 71 of file simpleChat.C.


Variable Documentation

The single chat server instance.

Definition at line 24 of file simpleChat.C.


Generated on Fri Sep 12 16:53:53 2008 for Wt by doxygen 1.5.6