Stellarium 0.15.2
|
Server-side auth handler. More...
#include <SyncServerHandlers.hpp>
Public Member Functions | |
ServerAuthHandler (SyncServer *server, bool allowDivergingAppVersions) | |
bool | handleMessage (QDataStream &stream, SyncRemotePeer &peer) Q_DECL_OVERRIDE |
Read a message directly from the stream. More... | |
Public Member Functions inherited from ServerHandler | |
ServerHandler (SyncServer *server) | |
Additional Inherited Members | |
Protected Attributes inherited from ServerHandler | |
SyncServer * | server |
Server-side auth handler.
Definition at line 45 of file SyncServerHandlers.hpp.
|
virtual |
Read a message directly from the stream.
SyncMessage::deserialize of the correct class should be used to deserialize the message.
peer | The remote peer this message originated from. Can be used to send replies through SyncRemotePeer::writeMessage |
Implements SyncMessageHandler.