CRemConPocTarget Class Reference

class CRemConPocTarget : public CRemConInterfaceBase

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

RemConExtensionApi.dll
Since
Series 60 3.0

Inherits from

Public Member Functions
~CRemConPocTarget ()
IMPORT_C void APOCButtonDownResponse ( TRequestStatus &, TInt )
IMPORT_C void APOCButtonUpResponse ( TRequestStatus &, TInt )
IMPORT_C void GetCommandSourceInfo ( TRemConExtCmdSource &)
IMPORT_C CRemConPocTarget * NewL ( CRemConInterfaceSelector &, MRemConPocTargetObserver &)
Private Member Functions
CRemConPocTarget ( CRemConInterfaceSelector &, MRemConPocTargetObserver &)
TAny * GetInterfaceIf ( TUid )
void MrcibNewMessage ( TUint , const TDesC8 &, TRemConMessageSubType , const TRemConAddress &)
void SendResponse ( 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
MRemConPocTargetObserver & iObserver
TBuf8 < KRemConExtParamMaxLength > iOutData
TUint32 iSourceUID

Constructor & Destructor Documentation

CRemConPocTarget(CRemConInterfaceSelector &, MRemConPocTargetObserver &)

CRemConPocTarget ( CRemConInterfaceSelector & aInterfaceSelector,
MRemConPocTargetObserver & aObserver
) [private]

Constructor.

Parameters

CRemConInterfaceSelector & aInterfaceSelector The interface selector.
MRemConPocTargetObserver & aObserver The observer of this interface.

~CRemConPocTarget()

IMPORT_C ~CRemConPocTarget ( ) [virtual]

Destructor.

Member Functions Documentation

APOCButtonDownResponse(TRequestStatus &, TInt)

IMPORT_C void APOCButtonDownResponse ( TRequestStatus & aStatus,
TInt aError
)
Called by client to send a response to remote target's operation after client has processed operation.
Since
Series 60 3.0

Parameters

TRequestStatus & aStatus Indicates the completion status of a request made
TInt aError An error code

APOCButtonUpResponse(TRequestStatus &, TInt)

IMPORT_C void APOCButtonUpResponse ( TRequestStatus & aStatus,
TInt aError
)
Called by client to send a response to remote target's operation after client has processed operation.
Since
Series 60 3.0

Parameters

TRequestStatus & aStatus Indicates the completion status of a request made
TInt aError An error code

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

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 &, MRemConPocTargetObserver &)

IMPORT_C CRemConPocTarget * NewL ( CRemConInterfaceSelector & aInterfaceSelector,
MRemConPocTargetObserver & aObserver
) [static]

Two-phased constructor.

Parameters

CRemConInterfaceSelector & aInterfaceSelector The interface selector.
MRemConPocTargetObserver & aObserver The observer of this interface.

SendResponse(TRequestStatus &, TInt, TInt)

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

Method that sends all reponses.

Parameters

TRequestStatus & aStatus
TInt aOperationId
TInt aError

Member Data Documentation

TUint iNumRemotes

TUint iNumRemotes [private]

MRemConPocTargetObserver & iObserver

MRemConPocTargetObserver & iObserver [private]

TBuf8< KRemConExtParamMaxLength > iOutData

TBuf8 < KRemConExtParamMaxLength > iOutData [private]

TUint32 iSourceUID

TUint32 iSourceUID [private]