#include <comms.h>
Inheritance diagram for CommsProvider:


Public Member Functions | |
| CommsProvider (LaunchNewId &_lid, MyManager &_manager) | |
| Comms * | GetNextComms () |
Protected Member Functions | |
| virtual void | ProcessRemoteNodeWantsMessageFrame (MessageFrame *newFrame, PString &remoteController) |
| virtual MessageFrame * | BuildMessageFrame () |
Protected Attributes | |
| MyManager & | manager |
|
||||||||||||
|
Constructor, which creates the thread that builds the thread etc |
|
|
Do the work of actually building a new MessageFrame Reimplemented from MessageFrameListProvider. |
|
|
Retrieve the next Comms instance |
|
||||||||||||
|
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. |
|
|
Reference to the MyManager class, which is required for building Comms classes |
1.4.4