Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

POGroup Class Reference

Provides a mailing list where every message sent to the group is sent to all members except the member who initially sent the message. More...

#include <POGroup.h>

List of all members.

Public Slots

void handleMessage (const POMessage *msg)
void addAddress (const POAddress &adr)
void removeAddress (const POAddress &adr)
void forward (const POMessage *msg)

Public Member Functions

 POGroup (const string &name, PostOffice *po)
 ~POGroup ()
 Destructor, closes the POBox.


Detailed Description

Provides a mailing list where every message sent to the group is sent to all members except the member who initially sent the message.

Author:
Daniel Larimer


Constructor & Destructor Documentation

POGroup::POGroup (  const string &  name,
PostOffice *  po
) 
 

Constructor

Parameters:
name - the name of the group
po - the post office the group belongs to

POGroup::~POGroup (   ) 
 

Destructor, closes the POBox.


Member Function Documentation

void POGroup::addAddress (  const POAddress &  adr  )  [slot]
 

void POGroup::forward (  const POMessage *  msg  )  [slot]
 

void POGroup::handleMessage (  const POMessage *  msg  )  [slot]
 

Forwards all non GroupMsg messages to all members of the group w/out changing the source of the message

Parameters:
msg - the message to respond to

void POGroup::removeAddress (  const POAddress &  adr  )  [slot]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 12:49:29 2004 for pexpr by doxygen 1.3.4