CRemConSynchronizationTarget Class Reference

class CRemConSynchronizationTarget : public CRemConInterfaceBase

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

RemConExtensionApi.dll
Since
Series 60 3.0

Inherits from

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

Constructor & Destructor Documentation

CRemConSynchronizationTarget(CRemConInterfaceSelector &, MRemConSynchronizationTargetObserver &)

CRemConSynchronizationTarget ( CRemConInterfaceSelector & aInterfaceSelector,
MRemConSynchronizationTargetObserver & aObserver
) [private]

Constructor.

Parameters

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

~CRemConSynchronizationTarget()

IMPORT_C ~CRemConSynchronizationTarget ( ) [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 ) [protected, 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
) [protected]

Parameters

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

NewL(CRemConInterfaceSelector &, MRemConSynchronizationTargetObserver &)

IMPORT_C CRemConSynchronizationTarget * NewL ( CRemConInterfaceSelector & aInterfaceSelector,
MRemConSynchronizationTargetObserver & aObserver
) [static]

Two-phased constructor.

Parameters

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

SynchronizeResponse(TRequestStatus &, TInt)

IMPORT_C void SynchronizeResponse ( 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.

Member Data Documentation

TUint iNumRemotes

TUint iNumRemotes [private]

MRemConSynchronizationTargetObserver & iObserver

MRemConSynchronizationTargetObserver & iObserver [private]

TBuf8< KRemConExtParamMaxLength > iOutData

TBuf8 < KRemConExtParamMaxLength > iOutData [private]

TUint32 iSourceUID

TUint32 iSourceUID [private]