MRemConConverterInterface Class Reference

class MRemConConverterInterface

Mixin for the converter API.

Member Functions Documentation

BearerToInterface(const TDesC8 &, TUid &, TUint &, TRemConMessageType &, TDes8 &)

TInt BearerToInterface(const TDesC8 &aBearerData,
TUid &aInterfaceUid,
TUint &aOperationId,
TRemConMessageType &aMsgType,
TDes8 &aData
)const [pure virtual]

Called by the server to get the converter to convert from the bearer- specific format to the interface (API) format.

Parameters

const TDesC8 & aBearerDataBearer input.
TUid & aInterfaceUidThe interface UID.
TUint & aOperationIdOperation ID.
TRemConMessageType & aMsgTypeThe type of the message.
TDes8 & aDataData associated with the operation.

InterfaceToBearer(TUid, TUint, const TDesC8 &, TRemConMessageType, TDes8 &)

TInt InterfaceToBearer(TUidaInterfaceUid,
TUintaOperationId,
const TDesC8 &aData,
TRemConMessageTypeaMsgType,
TDes8 &aBearerData
)const [pure virtual]

Called by the server to get the converter to convert from the interface (API) format to the bearer-specific format.

Parameters

TUid aInterfaceUidThe interface UID.
TUint aOperationIdOperation ID.
const TDesC8 & aDataData associated with the operation.
TRemConMessageType aMsgTypeThe type of the message.
TDes8 & aBearerDataConverted output.

SupportedInterface(const TDesC8 &, const TUid &)

TBool SupportedInterface(const TDesC8 &aInterfaceData,
const TUid &aBearerUid
)const [pure virtual]

Called by the server to find out if this converter converts between the formats of this bearer interface and RemCon interface.

Parameters

const TDesC8 & aInterfaceDataThe identifier of this interface in a bearer defined format.
const TUid & aBearerUidThe bearer UID.

SupportedUids(const TUid &, const TUid &)

TBool SupportedUids(const TUid &aInterfaceUid,
const TUid &aBearerUid
)const [pure virtual]

Called by the server to find out if this converter converts between the formats of this interface and bearer.

Parameters

const TUid & aInterfaceUidThe interface UID.
const TUid & aBearerUidThe bearer UID.