CSIPResolvedClient Class Reference

#include <mw/sipresolvedclient.h>

class CSIPResolvedClient : public CBase, public CBase

Inherits from

Detailed Description

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.

Member Attribute Documentation

iInstanceKey

TUid iInstanceKey

Unique key for implementations of this interface.

Constructor & Destructor Documentation

CSIPResolvedClient ( )

CSIPResolvedClient()[protected, inline]

~CSIPResolvedClient ( )

~CSIPResolvedClient()[inline, virtual]

Destructor

Member Function Documentation

Capabilities ( )

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.

ChannelL ( RStringF, const TDesC8 &, const RPointerArray< CSIPHeaderBase > &, const TDesC8 &, const CSIPContentTypeHeader * )

TUid ChannelL(RStringFaMethod,
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
aMethodthe method of the SIP request
aRequestUrithe request-URI of the SIP request
aHeadersall the headers in the SIP request
aContentSIP request body; zero-length descriptor if not present
aContentTypethe content-type of the SIP request. Zero-pointer if body is not present.
Return Value
SIP client's communication channel's UID

ConnectL ( TUid )

voidConnectL(TUidaUid)[pure virtual]
Requests the client to connect to SIP with resolved UID in case there's no connection with resolved channel UID.
Parameters
aUidpreviously resolved channel UID
Leave Codes
KErrNoMemoryif out of memory
KErrNotFoundin case non-existing channel UID was provided