#include <siprofilehandler.h>

Public Member Functions | |
| virtual | ~SIProfileHandler () |
| virtual void | handleSIRequest (const JID &from, const std::string &id, const std::string &profile, Tag *si, Tag *ptag, Tag *fneg)=0 |
You should usually not need to use this class directly, unless your profile is not supported by gloox.
Definition at line 36 of file siprofilehandler.h.
| virtual ~SIProfileHandler | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 43 of file siprofilehandler.h.
| virtual void handleSIRequest | ( | const JID & | from, | |
| const std::string & | id, | |||
| const std::string & | profile, | |||
| Tag * | si, | |||
| Tag * | ptag, | |||
| Tag * | fneg | |||
| ) | [pure virtual] |
This function is called to handle incoming SI requests, i.e. a remote entity requested a stream to send a file to you. You should use either SIManager::acceptSI() or SIManager::declineSI() to accept or reject the request, respectively.
| from | The SI requestor. | |
| id | The request's id (not the stream's id). This id MUST be supplied to either SIManager::acceptSI() or SIManager::declineSI(). | |
| profile | The requested stream profile. | |
| si | The request's complete <si/> Tag. | |
| ptag | The profile-specific child of the SI request. May be 0, but should not be. | |
| fneg | The <feature/> child of the SI request. May be 0. |
Implemented in SIProfileFT.
1.5.5