- RemotePeer(QTcpSocket *socket, QObject *parent = 0);
- virtual ~RemotePeer() {};
+ // import the virtuals from the baseclass
+ using Peer::handle;
+ using Peer::dispatch;
+
+ RemotePeer(AuthHandler *authHandler, QTcpSocket *socket, QObject *parent = 0);
// These protocol messages get handled internally and won't reach SignalProxy
void handle(const Protocol::HeartBeat &heartBeat);
void handle(const Protocol::HeartBeatReply &heartBeatReply);
virtual void dispatch(const Protocol::HeartBeat &msg) = 0;
virtual void dispatch(const Protocol::HeartBeatReply &msg) = 0;
// These protocol messages get handled internally and won't reach SignalProxy
void handle(const Protocol::HeartBeat &heartBeat);
void handle(const Protocol::HeartBeatReply &heartBeatReply);
virtual void dispatch(const Protocol::HeartBeat &msg) = 0;
virtual void dispatch(const Protocol::HeartBeatReply &msg) = 0;