DelegatingSignalStrategy(std::string local_jid,
const SendIqCallback& send_iq_callback);
- virtual ~DelegatingSignalStrategy();
+ ~DelegatingSignalStrategy() override;
void OnIncomingMessage(const std::string& message);
// SignalStrategy interface.
- virtual void Connect() OVERRIDE;
- virtual void Disconnect() OVERRIDE;
- virtual State GetState() const OVERRIDE;
- virtual Error GetError() const OVERRIDE;
- virtual std::string GetLocalJid() const OVERRIDE;
- virtual void AddListener(Listener* listener) OVERRIDE;
- virtual void RemoveListener(Listener* listener) OVERRIDE;
- virtual bool SendStanza(scoped_ptr<buzz::XmlElement> stanza) OVERRIDE;
- virtual std::string GetNextId() OVERRIDE;
+ void Connect() override;
+ void Disconnect() override;
+ State GetState() const override;
+ Error GetError() const override;
+ std::string GetLocalJid() const override;
+ void AddListener(Listener* listener) override;
+ void RemoveListener(Listener* listener) override;
+ bool SendStanza(scoped_ptr<buzz::XmlElement> stanza) override;
+ std::string GetNextId() override;
private:
std::string local_jid_;