Public Types | |
typedef boost::shared_ptr < GetDiscoInfoRequest > | ref |
Public Member Functions | |
virtual void | handleResponse (boost::shared_ptr< Payload > payload, ErrorPayload::ref error) |
Internal method, do not use. | |
void | send () |
const JID & | getReceiver () const |
Static Public Member Functions | |
static ref | create (const JID &jid, IQRouter *router) |
static ref | create (const JID &jid, const std::string &node, IQRouter *router) |
Public Attributes | |
boost::signal< void(boost::shared_ptr < DiscoInfo > , ErrorPayload::ref)> | onResponse |
Signal emitted when a reply to the iq has been received. | |
Protected Member Functions | |
virtual void | handleResponse (boost::shared_ptr< Payload >, boost::shared_ptr< ErrorPayload >)=0 |
boost::shared_ptr< DiscoInfo > | getPayloadGeneric () const |
virtual void | setPayload (boost::shared_ptr< Payload > payload) |
boost::shared_ptr< Payload > | getPayload () const |
Definition at line 15 of file GetDiscoInfoRequest.h.
typedef boost::shared_ptr<GetDiscoInfoRequest> Swift::GetDiscoInfoRequest::ref |
Definition at line 17 of file GetDiscoInfoRequest.h.
static ref Swift::GetDiscoInfoRequest::create | ( | const JID & | jid, | |
IQRouter * | router | |||
) | [inline, static] |
Definition at line 19 of file GetDiscoInfoRequest.h.
static ref Swift::GetDiscoInfoRequest::create | ( | const JID & | jid, | |
const std::string & | node, | |||
IQRouter * | router | |||
) | [inline, static] |
Definition at line 23 of file GetDiscoInfoRequest.h.
boost::shared_ptr<Payload> Swift::Request::getPayload | ( | ) | const [inline, protected, inherited] |
Definition at line 78 of file Request.h.
Referenced by Swift::GenericRequest< InBandRegistrationPayload >::getPayloadGeneric().
boost::shared_ptr<DiscoInfo > Swift::GenericRequest< DiscoInfo >::getPayloadGeneric | ( | ) | const [inline, protected, inherited] |
Definition at line 65 of file GenericRequest.h.
const JID& Swift::Request::getReceiver | ( | ) | const [inline, inherited] |
virtual void Swift::GenericRequest< DiscoInfo >::handleResponse | ( | boost::shared_ptr< Payload > | payload, | |
ErrorPayload::ref | error | |||
) | [inline, virtual, inherited] |
Internal method, do not use.
Definition at line 60 of file GenericRequest.h.
virtual void Swift::Request::handleResponse | ( | boost::shared_ptr< Payload > | , | |
boost::shared_ptr< ErrorPayload > | ||||
) | [protected, pure virtual, inherited] |
void Swift::Request::send | ( | ) | [inherited] |
virtual void Swift::Request::setPayload | ( | boost::shared_ptr< Payload > | payload | ) | [inline, protected, virtual, inherited] |
boost::signal<void (boost::shared_ptr<DiscoInfo >, ErrorPayload::ref)> Swift::GenericRequest< DiscoInfo >::onResponse [inherited] |
Signal emitted when a reply to the iq has been received.
Contains a payload if one was present, and an error if one was present.
Definition at line 73 of file GenericRequest.h.