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 void GetCommandSourceInfo ( TRemConExtCmdSource &)
void GetUIDSource ( TUint32 , TRemConExtCmdSource &)
IMPORT_C CRemConCallHandlingTarget * NewL ( CRemConInterfaceSelector &, MRemConCallHandlingTargetObserver &)
IMPORT_C void SendResponse ( TRequestStatus &, TInt , TInt )
Private Member Functions
CRemConCallHandlingTarget ( CRemConInterfaceSelector &, MRemConCallHandlingTargetObserver &)
TAny * GetInterfaceIf ( TUid )
void MrcibNewMessage ( TUint , const TDesC8 &, TRemConMessageSubType , const TRemConAddress &)
void SendAnyResponse ( 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 & aInterfaceSelector The interface selector.
MRemConCallHandlingTargetObserver & aObserver The observer of this interface.

~CRemConCallHandlingTarget()

IMPORT_C ~CRemConCallHandlingTarget ( ) [virtual]

Destructor.

Member Functions Documentation

GetCommandSourceInfo(TRemConExtCmdSource &)

IMPORT_C void GetCommandSourceInfo ( TRemConExtCmdSource & aSource )

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

Since
TB 9.2

Parameters

TRemConExtCmdSource & aSource returns the bearer source as TRemConExtCmdSource

GetInterfaceIf(TUid)

TAny * GetInterfaceIf ( TUid aUid ) [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 &)

void GetUIDSource ( TUint32 aUid,
TRemConExtCmdSource & aSource
) [static]

Method to get the bearer source detail

Since
TB9.2

Parameters

TUint32 aUid bearer UID
TRemConExtCmdSource & aSource returns the bearer source as TRemConExtCmdSource

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

void MrcibNewMessage ( TUint aOperationId,
const TDesC8 & aData,
TRemConMessageSubType aMessageSubType,
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 & aInterfaceSelector The interface selector.
MRemConCallHandlingTargetObserver & aObserver The observer of this interface.

SendAnyResponse(TRequestStatus &, TInt, TInt)

void SendAnyResponse ( TRequestStatus & aStatus,
TInt aOperationId,
TInt aError
) [private]

Method that sends all reponses to accessory.

Parameters

TRequestStatus & aStatus
TInt aOperationId
TInt aError

SendResponse(TRequestStatus &, TInt, TInt)

IMPORT_C void SendResponse ( TRequestStatus & aStatus,
TInt aOperationId,
TInt aError
)

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]