Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: sipobserver.h

Class MSIPObserver

class MSIPObserver;

Description

An interface to be implemented by user of CSIP. Interface allows to be able to receive SIP request from the SIP connection that has not been initialized by the user.

n/a

Members

Defined in MSIPObserver:
IncomingRequest(), TimedOut()


Member functions


IncomingRequest()

virtual void IncomingRequest(TUint32 aIapId, CSIPServerTransaction *aTransaction)=0;

Pre-Condition

aTransaction != 0

Description

A SIP request has been received from the network. This function is called when the SIP request was received using such an IAP, for which the application has not created a CSIPConnection object.

Parameters

TUint32 aIapId

The IapId from which the SIP request was received.

CSIPServerTransaction *aTransaction

contains local address, remote address of a SIP message, as well as optional SIP message method, headers and body. The ownership is transferred.


TimedOut()

virtual void TimedOut(CSIPServerTransaction &aTransaction)=0;

Description

The received SIP request time-outed and it is invalid i.e. cannot be used anymore. This will be called if the user fails to create a SIP connection and does not send an appropriate SIP response.

Parameters

CSIPServerTransaction &aTransaction

The time-outed transaction.