|
SyncProtocol::Selection | constructMessage () Q_DECL_OVERRIDE |
| This has to be used to construct a message using current app state. More...
|
|
virtual void | newClientConnected (SyncRemotePeer &client) Q_DECL_OVERRIDE |
| Uses constructMessage() to send a message to the new client.
|
|
virtual void | update () Q_DECL_OVERRIDE |
| If isDirty is true, broadcasts a message to all using constructMessage() and broadcastMessage, and resets isDirty. More...
|
|
void | broadcastMessage (const SyncProtocol::SyncMessage &msg) |
| Subclasses can call this to broadcast a message to all valid connected clients.
|
|