MRegistrationOwner Class Reference

class MRegistrationOwner

An interface defining callbacks from Registration subsystem to the calling subsystem.

Constructor & Destructor Documentation

~MRegistrationOwner()

~MRegistrationOwner ( ) [inline, virtual]

Member Functions Documentation

RegistrationError(TTransactionId, TRegistrationId, TInt)

TInt RegistrationError ( TTransactionId aTransactionId,
TRegistrationId aRegistrationId,
TInt aReason
) [pure virtual]

Called when a binding has been created, but an update or a terminate request or a refresh failed. The binding has now been removed.

Parameters

TTransactionId aTransactionId identifies the request to which this response is related.
TRegistrationId aRegistrationId identifies the registration to which this transaction is related.
TInt aReason tells why the transaction ended.

RegistrationReceivedL(TTransactionId, TRefreshId, TRegistrationId, CSIPResponse *)

void RegistrationReceivedL ( TTransactionId aTransactionId,
TRefreshId aRefreshId,
TRegistrationId aRegistrationId,
CSIPResponse * aSIPResponse
) [pure virtual]

Called when registration gets a 2XX response to a SIP request that created a binding or to a SIP request that updated or terminated an existing binding. In case of update or terminate request, any class responses go through this function.

Parameters

TTransactionId aTransactionId identifies the request to which this response is related.
TRefreshId aRefreshId identifies the refresh if the binding is refreshed
TRegistrationId aRegistrationId identifies the registration to which this response is related. If a new registration binding was created this is the id of the created binding. Otherwise this is the id of an existing binding.
CSIPResponse * aSIPResponse a response. The ownership is transferred if the function does not leave.

TransportParams()

const TSIPTransportParams & TransportParams ( ) const [pure virtual]

Gets the transport parameters to be passed to TU or Refreshes when sending a REGISTER request.