/* * Copyright (c) 2010 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #include #include #include #include #include namespace Swift { class StanzaChannel : public IQChannel { public: virtual void sendMessage(boost::shared_ptr) = 0; virtual void sendPresence(boost::shared_ptr) = 0; virtual bool isAvailable() const = 0; virtual bool getStreamManagementEnabled() const = 0; virtual std::vector getPeerCertificateChain() const = 0; boost::signal onAvailableChanged; boost::signal)> onMessageReceived; boost::signal) > onPresenceReceived; boost::signal)> onStanzaAcked; }; }