CRemConCallHandlingTarget Class Reference

class CRemConCallHandlingTarget : public CRemConInterfaceBase

Part of Remote Control Extension Api. This class receives call handling related operations from accessories.

RemConExtensionApi.dll
Since
Series 60 3.0

Inherits from

Public Member Functions
~CRemConCallHandlingTarget()
IMPORT_C voidGetCommandSourceInfo(TRemConExtCmdSource &)
voidGetUIDSource(TUint32, TRemConExtCmdSource &)
IMPORT_C CRemConCallHandlingTarget *NewL(CRemConInterfaceSelector &, MRemConCallHandlingTargetObserver &)
IMPORT_C voidSendResponse(TRequestStatus &, TInt, TInt)
Private Member Functions
CRemConCallHandlingTarget(CRemConInterfaceSelector &, MRemConCallHandlingTargetObserver &)
TAny *GetInterfaceIf(TUid)
voidMrcibNewMessage(TUint, const TDesC8 &, TRemConMessageSubType, const TRemConAddress &)
voidSendAnyResponse(TRequestStatus &, TInt, TInt)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CRemConInterfaceBase::BaseConstructL()
CRemConInterfaceBase::BaseConstructL(RRemConInterfaceFeatures &)
CRemConInterfaceBase::BaseConstructL(RRemConInterfaceFeatures &,TBool)
CRemConInterfaceBase::Bulk()const
CRemConInterfaceBase::CRemConInterfaceBase(TUid,TUint,CRemConInterfaceSelector &,TRemConClientType)
CRemConInterfaceBase::Cancel()
CRemConInterfaceBase::InterfaceSelector()
CRemConInterfaceBase::InterfaceUid()const
CRemConInterfaceBase::MaxLength()const
CRemConInterfaceBase::Target(TRemConClientType)
CRemConInterfaceBase::Type()const
CRemConInterfaceBase::~CRemConInterfaceBase()
Private Attributes
TUint iNumRemotes
MRemConCallHandlingTargetObserver &iObserver
TBuf8< KRemConExtParamMaxLength >iOutData
TUint32 iSourceUID

Constructor & Destructor Documentation

CRemConCallHandlingTarget(CRemConInterfaceSelector &, MRemConCallHandlingTargetObserver &)

CRemConCallHandlingTarget(CRemConInterfaceSelector &aInterfaceSelector,
MRemConCallHandlingTargetObserver &aObserver
)[private]

Constructor.

Parameters

CRemConInterfaceSelector & aInterfaceSelectorThe interface selector.
MRemConCallHandlingTargetObserver & aObserverThe observer of this interface.

~CRemConCallHandlingTarget()

IMPORT_C~CRemConCallHandlingTarget()[virtual]

Destructor.

Member Functions Documentation

GetCommandSourceInfo(TRemConExtCmdSource &)

IMPORT_C voidGetCommandSourceInfo(TRemConExtCmdSource &aSource)

Method to get the bearer source detail for the last command received

Since
TB 9.2

Parameters

TRemConExtCmdSource & aSourcereturns the bearer source as TRemConExtCmdSource

GetInterfaceIf(TUid)

TAny *GetInterfaceIf(TUidaUid)[private, virtual]

Called by the interface selector to get a pointer to an object which implements the interface API with UID aUid. This is a mechanism for allowing future change to the interface API without breaking BC in existing (non-updated) interfaces.

Parameters

TUid aUid

GetUIDSource(TUint32, TRemConExtCmdSource &)

voidGetUIDSource(TUint32aUid,
TRemConExtCmdSource &aSource
)[static]

Method to get the bearer source detail

Since
TB9.2

Parameters

TUint32 aUidbearer UID
TRemConExtCmdSource & aSourcereturns the bearer source as TRemConExtCmdSource

MrcibNewMessage(TUint, const TDesC8 &, TRemConMessageSubType, const TRemConAddress &)

voidMrcibNewMessage(TUintaOperationId,
const TDesC8 &aData,
TRemConMessageSubTypeaMessageSubType,
const TRemConAddress &aRemoteAddr
)[private]

Parameters

TUint aOperationId
const TDesC8 & aData
TRemConMessageSubType aMessageSubType
const TRemConAddress & aRemoteAddr

NewL(CRemConInterfaceSelector &, MRemConCallHandlingTargetObserver &)

IMPORT_C CRemConCallHandlingTarget *NewL(CRemConInterfaceSelector &aInterfaceSelector,
MRemConCallHandlingTargetObserver &aObserver
)[static]

Two-phased constructor.

Parameters

CRemConInterfaceSelector & aInterfaceSelectorThe interface selector.
MRemConCallHandlingTargetObserver & aObserverThe observer of this interface.

SendAnyResponse(TRequestStatus &, TInt, TInt)

voidSendAnyResponse(TRequestStatus &aStatus,
TIntaOperationId,
TIntaError
)[private]

Method that sends all reponses to accessory.

Parameters

TRequestStatus & aStatus
TInt aOperationId
TInt aError

SendResponse(TRequestStatus &, TInt, TInt)

IMPORT_C voidSendResponse(TRequestStatus &aStatus,
TIntaOperationId,
TIntaError
)

Parameters

TRequestStatus & aStatus
TInt aOperationId
TInt aError

Member Data Documentation

TUint iNumRemotes

TUint iNumRemotes[private]

MRemConCallHandlingTargetObserver & iObserver

MRemConCallHandlingTargetObserver &iObserver[private]

TBuf8< KRemConExtParamMaxLength > iOutData

TBuf8< KRemConExtParamMaxLength >iOutData[private]

TUint32 iSourceUID

TUint32 iSourceUID[private]