Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions

Swift::GetSoftwareVersionRequest Class Reference

Inheritance diagram for Swift::GetSoftwareVersionRequest:
Collaboration diagram for Swift::GetSoftwareVersionRequest:

List of all members.

Public Types

typedef boost::shared_ptr
< GetSoftwareVersionRequest

Public Member Functions

virtual void handleResponse (boost::shared_ptr< Payload > payload, ErrorPayload::ref error)
 Internal method, do not use.
void send ()
const JIDgetReceiver () const

Static Public Member Functions

static ref create (const JID &recipient, IQRouter *router)

Public Attributes

boost::signal< void(boost::shared_ptr
< SoftwareVersion >
, ErrorPayload::ref)> 
 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
< SoftwareVersion
getPayloadGeneric () const
virtual void setPayload (boost::shared_ptr< Payload > payload)
boost::shared_ptr< PayloadgetPayload () const

Detailed Description

Definition at line 12 of file GetSoftwareVersionRequest.h.

Member Typedef Documentation

Definition at line 13 of file GetSoftwareVersionRequest.h.

Member Function Documentation

static ref Swift::GetSoftwareVersionRequest::create ( const JID recipient,
IQRouter router 
) [inline, static]

Definition at line 15 of file GetSoftwareVersionRequest.h.

boost::shared_ptr<Payload> Swift::Request::getPayload (  )  const [inline, protected, inherited]
boost::shared_ptr<SoftwareVersion > Swift::GenericRequest< SoftwareVersion >::getPayloadGeneric (  )  const [inline, protected, inherited]

Definition at line 65 of file GenericRequest.h.

const JID& Swift::Request::getReceiver (  )  const [inline, inherited]

Definition at line 29 of file Request.h.

virtual void Swift::GenericRequest< SoftwareVersion >::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]

Definition at line 74 of file Request.h.

Member Data Documentation

boost::signal<void (boost::shared_ptr<SoftwareVersion >, ErrorPayload::ref)> Swift::GenericRequest< SoftwareVersion >::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.