MSIPObserver Class Reference

#include <mw/sipobserver.h>

Link against: n/a

class MSIPObserver
Public Member Functions
pure virtual voidIncomingRequest(TUint32, CSIPServerTransaction *)
pure virtual voidTimedOut(CSIPServerTransaction &)

Detailed 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.

Member Function Documentation

IncomingRequest ( TUint32, CSIPServerTransaction * )

voidIncomingRequest(TUint32aIapId,
CSIPServerTransaction *aTransaction
)[pure virtual]
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.
Pre-condition
aTransaction != 0
ParameterDescription
aIapIdThe IapId from which the SIP request was received.
aTransactioncontains local address, remote address of a SIP message, as well as optional SIP message method, headers and body. The ownership is transferred.

TimedOut ( CSIPServerTransaction & )

voidTimedOut(CSIPServerTransaction &aTransaction)[pure virtual]

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.

ParameterDescription
aTransactionThe time-outed transaction.