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.
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.