diff --git a/include/transport/transport.h b/include/transport/transport.h index c305bce7783153b3c55b104ba8044796ea4d642f..5c7027532390007cc9a43126c696681768e11773 100644 --- a/include/transport/transport.h +++ b/include/transport/transport.h @@ -65,6 +65,16 @@ namespace Transport { /// Component destructor. ~Component(); + /// Returns Swift::Component associated with this Transport::Component. + /// You can use it to send presences and other stanzas. + /// \return Swift::Component associated with this Transport::Component + Swift::Component *getComponent(); + + /// Returns Swift::PresenceOracle associated with this Transport::Component. + /// You can use it to check current resource connected for particular user. + /// \return Swift::PresenceOracle associated with this Transport::Component + Swift::PresenceOracle *getPresenceOracle(); + /// Connects the Jabber server. /// \see Component() void connect();