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

Supervisor Class Reference

#include <supervisor.h>

Inheritance diagram for Supervisor:

Inheritance graph
[legend]
Collaboration diagram for Supervisor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Supervisor (LaunchNewId &lid)
 ~Supervisor ()

Protected Member Functions

virtual void ProcessHangup (PStringArray &cmds, PString &sender)
virtual void ProcessStatusQuery (PStringArray &cmds, PString &sender)
virtual void ProcessIdentify (PStringArray &cmds, PString &sender)
virtual void ProcessDebug (PStringArray &cmds, PString &sender)
virtual void ProcessQuitNow (PStringArray &cmds, PString &sender)
virtual void ProcessRequestNewId (PStringArray &cmds, PString &sender)
virtual BOOL OkToQuitNow ()
virtual void SilentlyEndAll ()

Detailed Description

A class that has the overview of all calls to this process. This class is involved in allocating an id to a new call. Requests for allocation come either from: an incoming call, or from the controller. If the controller makes a request, then the controller is about to make an outgoing call


Constructor & Destructor Documentation

Supervisor::Supervisor LaunchNewId lid  ) 
 

Constructor to the supplied values

Supervisor::~Supervisor  ) 
 

Destructor


Member Function Documentation

virtual BOOL Supervisor::OkToQuitNow  )  [inline, protected, virtual]
 

Some MessageFrame instances do not have the permission to quit now. This virtual method determines if this instance is permitted to exit the program. This supervisor has permision to end all.

Reimplemented from MessageFrame.

void Supervisor::ProcessDebug PStringArray &  cmds,
PString &  sender
[protected, virtual]
 

we have received a command which enables/disables debug information so install as required and reply accordingly

Reimplemented from MessageFrame.

void Supervisor::ProcessHangup PStringArray &  cmds,
PString &  sender
[protected, virtual]
 

we have received a hangup message, so end the call

Reimplemented from MessageFrame.

void Supervisor::ProcessIdentify PStringArray &  cmds,
PString &  sender
[protected, virtual]
 

we have received a command requesting that we identify ourselves so do it and reply accordingly

Reimplemented from MessageFrame.

void Supervisor::ProcessQuitNow PStringArray &  cmds,
PString &  sender
[protected, virtual]
 

we have received a command advising us that we are to end now

Reimplemented from MessageFrame.

void Supervisor::ProcessRequestNewId PStringArray &  cmds,
PString &  sender
[protected, virtual]
 

we have received a command asking us to provide the id of a new communications nodes, that will be controlled only by the remote node

Reimplemented from MessageFrame.

void Supervisor::ProcessStatusQuery PStringArray &  cmds,
PString &  sender
[protected, virtual]
 

we have received a query status command, so do it and reply accordingly

Reimplemented from MessageFrame.

void Supervisor::SilentlyEndAll  )  [protected, virtual]
 

We have a comms error, so just close everything right now. Send no message to the remote node - just end end end.

Reimplemented from MessageFrame.


The documentation for this class was generated from the following files:
Generated on Sun Jan 29 19:49:40 2006 for Sofa Switch Multipoint Conf. Utility by  doxygen 1.4.4