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(TTransactionIdaTransactionId,
TRegistrationIdaRegistrationId,
TIntaReason
)[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 aTransactionIdidentifies the request to which this response is related.
TRegistrationId aRegistrationIdidentifies the registration to which this transaction is related.
TInt aReasontells why the transaction ended.

RegistrationReceivedL(TTransactionId, TRefreshId, TRegistrationId, CSIPResponse *)

voidRegistrationReceivedL(TTransactionIdaTransactionId,
TRefreshIdaRefreshId,
TRegistrationIdaRegistrationId,
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 aTransactionIdidentifies the request to which this response is related.
TRefreshId aRefreshIdidentifies the refresh if the binding is refreshed
TRegistrationId aRegistrationIdidentifies 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 * aSIPResponsea 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.