![]() |
Stellarium
23.4
|
Reacts to Server challenge and challenge OK on the client. More...
#include <SyncClientHandlers.hpp>
Signals | |
| void | authenticated () |
Public Member Functions | |
| ClientAuthHandler (SyncClient *client) | |
| bool | handleMessage (QDataStream &stream, SyncProtocol::tPayloadSize dataSize, SyncRemotePeer &peer) override |
| Read a message directly from the stream. More... | |
Public Member Functions inherited from ClientHandler | |
| ClientHandler (SyncClient *client) | |
Additional Inherited Members | |
Protected Attributes inherited from ClientHandler | |
| SyncClient * | client |
| StelCore * | core |
Reacts to Server challenge and challenge OK on the client.
|
overridevirtual |
Read a message directly from the stream.
SyncMessage::deserialize of the correct class should be used to deserialize the message.
| stream | The stream to be used to read data. The current position is after the header. |
| dataSize | The data size from the message header |
| peer | The remote peer this message originated from. Can be used to send replies through SyncRemotePeer::writeMessage |
Implements SyncMessageHandler.