SPAOP
|
Another listener interface especially for incoming ping messages. More...
#include <VisualStreamReceiver.h>
Public Member Functions | |
virtual | ~PingHandler () |
virtual int | onStreamVisualPing (int pingCount, OscSender *replyTo)=0 |
On receiving the /WONDER/stream/visual/ping message, the VisualStreamReceiver must call this method. More... | |
Another listener interface especially for incoming ping messages.
This is seperated from the general Listener as one might want to separate the connection control seperately from the connection's communication content.
|
inlinevirtual |
|
pure virtual |
On receiving the /WONDER/stream/visual/ping message, the VisualStreamReceiver must call this method.
The VisualStreamReceiver may delete the OscSender replyTo after calling this method, so the PingHandler may not store it for further use. For each incoming ping message, a pong message must be sent as reply.
pingCount | A value that must be sent back with the pong reply. |
replyTo | An OscSender that sends to the Address where the ping message was recieved from. |