Next Previous Contents

6. Application

In brief, a WHISPER application (whisperApplication) is a nrtCyclicThread that can manage some WHISPER chains.

Most important providen methods are probably addChain(char *_name), setCurrentToLast(void) and the message handling methods.

6.1 Basics

First of all, the application must instanciate a chain, using addChain(char *_name) and declare it as default chain (setCurrentToLast(void).

Thus, the addHandler(rtDataHandler *) can be called and any new handler'll go in the default chain.


Next Previous Contents