An IQ get/set request query. More...
Inheritance diagram for Swift::Request:
Collaboration diagram for Swift::Request:Public Member Functions | |
| void | send () |
| const JID & | getReceiver () const |
Protected Member Functions | |
| Request (IQ::Type type, const JID &receiver, boost::shared_ptr< Payload > payload, IQRouter *router) | |
| Constructs a request of a certain type to a specific receiver, and attaches the given payload. | |
| Request (IQ::Type type, const JID &sender, const JID &receiver, boost::shared_ptr< Payload > payload, IQRouter *router) | |
| Constructs a request of a certain type to a specific receiver from a specific sender, and attaches the given payload. | |
| Request (IQ::Type type, const JID &receiver, IQRouter *router) | |
| Constructs a request of a certain type to a specific receiver. | |
| Request (IQ::Type type, const JID &sender, const JID &receiver, IQRouter *router) | |
| Constructs a request of a certain type to a specific receiver from a specific sender. | |
| virtual void | setPayload (boost::shared_ptr< Payload > payload) |
| boost::shared_ptr< Payload > | getPayload () const |
| virtual void | handleResponse (boost::shared_ptr< Payload >, boost::shared_ptr< ErrorPayload >)=0 |
An IQ get/set request query.
Definition at line 25 of file Request.h.
| Swift::Request::Request | ( | IQ::Type | type, | |
| const JID & | receiver, | |||
| boost::shared_ptr< Payload > | payload, | |||
| IQRouter * | router | |||
| ) | [protected] |
Constructs a request of a certain type to a specific receiver, and attaches the given payload.
Referenced by Swift::GetPrivateStorageRequest< PAYLOAD_TYPE >::create().
| Swift::Request::Request | ( | IQ::Type | type, | |
| const JID & | sender, | |||
| const JID & | receiver, | |||
| boost::shared_ptr< Payload > | payload, | |||
| IQRouter * | router | |||
| ) | [protected] |
Constructs a request of a certain type to a specific receiver from a specific sender, and attaches the given payload.
Constructs a request of a certain type to a specific receiver.
| Swift::Request::Request | ( | IQ::Type | type, | |
| const JID & | sender, | |||
| const JID & | receiver, | |||
| IQRouter * | router | |||
| ) | [protected] |
Constructs a request of a certain type to a specific receiver from a specific sender.
| boost::shared_ptr<Payload> Swift::Request::getPayload | ( | ) | const [inline, protected] |
Definition at line 78 of file Request.h.
Referenced by Swift::GenericRequest< InBandRegistrationPayload >::getPayloadGeneric().
| virtual void Swift::Request::handleResponse | ( | boost::shared_ptr< Payload > | , | |
| boost::shared_ptr< ErrorPayload > | ||||
| ) | [protected, pure virtual] |
| void Swift::Request::send | ( | ) |
1.7.1