#include <mw/sipresolvedclient.h>
class CSIPResolvedClient : public CBase, public CBase |
Public Attributes | |
---|---|
TUid | iInstanceKey |
Public Member Functions | |
---|---|
virtual | ~CSIPResolvedClient() |
virtual const TDesC8 & | Capabilities() |
pure virtual TUid | ChannelL(RStringF, const TDesC8 &, const RPointerArray< CSIPHeaderBase > &, const TDesC8 &, const CSIPContentTypeHeader *) |
pure virtual void | ConnectL(TUid) |
Protected Member Functions | |
---|---|
CSIPResolvedClient() |
Interface that clients must realize in order to enable client resolution mechanism upon the reception of SIP request outside the SIP dialog. Data provided in the ECOM resource file or optionally requested from the interface implementation will be used for target client determination by the SIP implementation. Note that channel UIDs must be unique accross all SIP clients e.g. clients may use UIDs assigned for binaries.
TUid | iInstanceKey |
Unique key for implementations of this interface.
CSIPResolvedClient | ( | ) | [protected, inline] |
const TDesC8 & | Capabilities | ( | ) | [inline, virtual] |
Requests the implementation to provide capabilities in XML format in case they were not defined in the ECOM resource file. The cabablities to be returned must be defined according to the same DTD. This function will be invoked only if the capabilities are not defined in the ECOM resource file.
TUid | ChannelL | ( | RStringF | aMethod, |
const TDesC8 & | aRequestUri, | |||
const RPointerArray< CSIPHeaderBase > & | aHeaders, | |||
const TDesC8 & | aContent, | |||
const CSIPContentTypeHeader * | aContentType = 0 | |||
) | [pure virtual] |
Returns the SIP client's channel UID that indicates client's channel UID for connection with SIP e.g. CSIP::NewL()
Parameters | |
---|---|
aMethod | the method of the SIP request |
aRequestUri | the request-URI of the SIP request |
aHeaders | all the headers in the SIP request |
aContent | SIP request body; zero-length descriptor if not present |
aContentType | the content-type of the SIP request. Zero-pointer if body is not present. |
void | ConnectL | ( | TUid | aUid | ) | [pure virtual] |
Parameters | |
---|---|
aUid | previously resolved channel UID |
Leave Codes | |
---|---|
KErrNoMemory | if out of memory |
KErrNotFound | in case non-existing channel UID was provided |