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

CommsProvider Class Reference

#include <comms.h>

Inheritance diagram for CommsProvider:

Inheritance graph
[legend]
Collaboration diagram for CommsProvider:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommsProvider (LaunchNewId &_lid, MyManager &_manager)
CommsGetNextComms ()

Protected Member Functions

virtual void ProcessRemoteNodeWantsMessageFrame (MessageFrame *newFrame, PString &remoteController)
virtual MessageFrameBuildMessageFrame ()

Protected Attributes

MyManagermanager

Detailed Description

A class to generate Comms instances ahead of time


Constructor & Destructor Documentation

CommsProvider::CommsProvider LaunchNewId _lid,
MyManager _manager
 

Constructor, which creates the thread that builds the thread etc


Member Function Documentation

MessageFrame * CommsProvider::BuildMessageFrame  )  [protected, virtual]
 

Do the work of actually building a new MessageFrame

Reimplemented from MessageFrameListProvider.

Comms * CommsProvider::GetNextComms  ) 
 

Retrieve the next Comms instance

void CommsProvider::ProcessRemoteNodeWantsMessageFrame MessageFrame newFrame,
PString &  remoteController
[protected, virtual]
 

This class (CommsProvider) has overridden this method. On detecting that a remote node wants a MessageFrame, this method is called. The descendant class will have the ability to take the supplied frame and hand it to the correct destination.

Only the thread that runs inside this list will call this method.

Reimplemented from MessageFrameListProvider.


Member Data Documentation

MyManager& CommsProvider::manager [protected]
 

Reference to the MyManager class, which is required for building Comms classes


The documentation for this class was generated from the following files:
Generated on Sun Jan 29 19:49:12 2006 for SSVoip, which is Sofa Switch Voip by  doxygen 1.4.4