Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: sipdialog.h
Link against: sipclient.lib

Class CSIPDialog

class CSIPDialog : public CBase;

Description

Class for managing SIP dialogs. It provides services querying dialog state, obtaining the dialog related SIP headers and getting all dialog associations.

The user of the class cannot instantiate this class. sipclient

Derivation

Members

Defined in CSIPDialog:
CallIdL(), Connection(), Connection(), EConfirmed, EEarly, EInit, ETerminated, FromHeader(), IsAssociated(), RegistrationContext(), RemoteURI(), SIPDialogAssociations(), State(), TState, ToHeader(), operator==()

Inherited from CBase:
Delete(), Extension_(), operator new()


Member functions


State()

IMPORT_C CSIPDialog::TState State() const;

Description

Gets dialog state

Return value

CSIPDialog::TState

dialog state


SIPDialogAssociations()

IMPORT_C const RPointerArray< CSIPDialogAssocBase > &SIPDialogAssociations() const;

Description

Gets all dialog associations.

Return value

const RPointerArray< CSIPDialogAssocBase > &

All dialog associations. Ownership of the array or the items inside it, is not transferred.


RegistrationContext()

IMPORT_C const MSIPRegistrationContext *RegistrationContext() const;

Description

Gets used registration context for this dialog

Return value

const MSIPRegistrationContext *

associated registration or 0-pointer otherwise. Ownership is not transferred.


IsAssociated()

IMPORT_C TBool IsAssociated(const CSIPDialogAssocBase &aDialogAssoc) const;

Description

Checks if the dialog association belongs to this dialog

Parameters

const CSIPDialogAssocBase &aDialogAssoc

a dialog association

Return value

TBool

ETrue if belongs, EFalse otherwise


Connection()

IMPORT_C CSIPConnection *Connection();

Description

Gets the SIP connection used for this dialog

Return value

CSIPConnection *

SIP connection used for the dialog, or 0-pointer if the connection has been deleted. Ownership isn't transferred.


Connection()

IMPORT_C const CSIPConnection *Connection() const;

Description

Gets the SIP connection used for this dialog.

Return value

const CSIPConnection *

SIP connection used for the dialog, or 0-pointer if the connection has been deleted. Ownership isn't transferred.


FromHeader()

IMPORT_C const CSIPFromHeader &FromHeader() const;

Description

Gets originator's address

Return value

const CSIPFromHeader &

originator's address (From-header)


ToHeader()

IMPORT_C const CSIPToHeader &ToHeader() const;

Description

Gets recipient's address

Return value

const CSIPToHeader &

recipient's address (To-header)


RemoteURI()

IMPORT_C const CUri8 &RemoteURI() const;

Description

Gets remote-uri used during dialog creation

Return value

const CUri8 &

Remote target uri


CallIdL()

IMPORT_C const CSIPCallIDHeader &CallIdL() const;

Pre-Condition

State()==CSIPDialog::EEarly || State()==CSIPDialog::EConfirmed

Description

Gets Call-ID of SIP dialog

Return value

const CSIPCallIDHeader &

Call-ID of SIP dialog

Leave codes

KErrSIPInvalidDialogState

if dialog doesn't yet have a Call-ID


operator==()

IMPORT_C TBool operator==(const CSIPDialog &aDialog) const;

Description

Compares this object to another object

Parameters

const CSIPDialog &aDialog

CSIPDialog object to compare

Return value

TBool

ETrue if the objects are equal, otherwise EFalse

[Top]


Member enumerations


Enum TState

TState

Description

Dialog states

EInit

Initiliazed state

EEarly

Early state

EConfirmed

Confirmed state

ETerminated

Terminated state