Elements::RResponseMsg Class Reference
class Elements::RResponseMsg : protected RMessage2
|
Public Member Functions
|
|
RResponseMsg
()
|
|
RResponseMsg
(const
RMessage2
&,
TInt
,
TInt
,
TInt
)
|
|
RResponseMsg
(const
RMessage2
&, const
Den::TApiExtIdentification
&,
TInt
,
TInt
)
|
IMPORT_C void
|
Complete
(
TInt
)
|
IMPORT_C void
|
Complete
(
Meta::SMetaDataECom
&)
|
IMPORT_C void
|
Complete
(
Meta::SMetaDataECom
&,
TDes8
&)
|
IMPORT_C void
|
Complete
(
RHandleBase
&)
|
TInt
|
Function
()
|
TInt
|
GetDesLength
(
TInt
)
|
TInt
|
GetDesLengthL
(
TInt
)
|
TInt
|
GetDesMaxLength
(
TInt
)
|
TInt
|
GetDesMaxLengthL
(
TInt
)
|
TBool
|
HasCapability
(
TCapability
, const char *)
|
TInt
|
Int0
()
|
TInt
|
Int1
()
|
TInt
|
Int2
()
|
TInt
|
Int3
()
|
IMPORT_C
TInt
|
InterfaceId
()
|
TBool
|
IsNull
()
|
IMPORT_C void
|
Panic
(const
TDesC
&,
TInt
)
|
const
TAny
*
|
Ptr0
()
|
const
TAny
*
|
Ptr1
()
|
const
TAny
*
|
Ptr2
()
|
const
TAny
*
|
Ptr3
()
|
TInt
|
Read
(
TInt
,
TDes8
&,
TInt
)
|
TInt
|
Read
(
TInt
,
TDes16
&,
TInt
)
|
IMPORT_C
Meta::SMetaDataNetCtor
*
|
ReadClientReqMsg
(
TDes8
&)
|
void
|
ReadL
(
TInt
,
TDes8
&,
TInt
)
|
void
|
ReadL
(
TInt
,
TDes16
&,
TInt
)
|
IMPORT_C
TInt
|
ScopeId
()
|
TInt
|
Write
(
TInt
, const
TDesC8
&,
TInt
)
|
TInt
|
Write
(
TInt
, const
TDesC16
&,
TInt
)
|
void
|
WriteL
(
TInt
, const
TDesC8
&,
TInt
)
|
void
|
WriteL
(
TInt
, const
TDesC16
&,
TInt
)
|
Constructor & Destructor Documentation
RResponseMsg()
RResponseMsg
|
(
|
)
|
[inline, explicit]
|
RResponseMsg(const RMessage2 &, TInt, TInt, TInt)
IMPORT_C
|
RResponseMsg
|
(
|
const
RMessage2
&
|
aMessage,
|
|
TInt
|
aInterfaceId,
|
|
TInt
|
aRequestMsgParam = -1,
|
|
TInt
|
aResponseMsgParam = -1
|
|
)
|
[explicit]
|
RResponseMsg(const RMessage2 &, const Den::TApiExtIdentification &, TInt, TInt)
Member Functions Documentation
Complete(TInt)
IMPORT_C void
|
Complete
|
(
|
TInt
|
aError
|
)
|
|
Complete(Meta::SMetaDataECom &)
IMPORT_C void
|
Complete
|
(
|
Meta::SMetaDataECom
&
|
aMsg
|
)
|
|
Parameters
Meta::SMetaDataECom
& aMsg
|
|
Complete(Meta::SMetaDataECom &, TDes8 &)
IMPORT_C void
|
Complete
|
(
|
Meta::SMetaDataECom
&
|
aMsg,
|
|
TDes8
&
|
aDstBuff
|
|
)
|
|
Parameters
Meta::SMetaDataECom
& aMsg
|
|
TDes8
& aDstBuff
|
|
Function()
TInt
|
Function
|
(
|
)
|
const [inline]
|
Gets the the number of the function requested by the client.
GetDesLength(TInt)
TInt
|
GetDesLength
|
(
|
TInt
|
aParam
|
)
|
const [inline]
|
GetDesLengthL(TInt)
TInt
|
GetDesLengthL
|
(
|
TInt
|
aParam
|
)
|
const [inline]
|
GetDesMaxLength(TInt)
TInt
|
GetDesMaxLength
|
(
|
TInt
|
aParam
|
)
|
const [inline]
|
GetDesMaxLengthL(TInt)
TInt
|
GetDesMaxLengthL
|
(
|
TInt
|
aParam
|
)
|
const [inline]
|
HasCapability(TCapability, const char *)
TBool
|
HasCapability
|
(
|
TCapability
|
aCapability,
|
|
const char *
|
aDiagnostic = 0
|
|
)
|
const [inline]
|
Check if the process which sent this message has a given capability.
When a check fails the action taken is determined by the system wide Platform Security configuration. If PlatSecDiagnostics is ON, then a diagnostic message is emitted. If PlatSecEnforcement is OFF, then this function will return ETrue even though the check failed.
Parameters
TCapability
aCapability
|
The capability to test.
|
const char * aDiagnostic = 0
|
A string that will be emitted along with any diagnostic message that may be issued if the test finds the capability is not present. This string must be enclosed in the __PLATSEC_DIAGNOSTIC_STRING macro which enables it to be easily removed from the system.
|
Int0()
TInt
|
Int0
|
(
|
)
|
const [inline]
|
Gets the first message argument as an integer value.
Int1()
TInt
|
Int1
|
(
|
)
|
const [inline]
|
Gets the second message argument as an integer value.
Int2()
TInt
|
Int2
|
(
|
)
|
const [inline]
|
Gets the third message argument as an integer value.
Int3()
TInt
|
Int3
|
(
|
)
|
const [inline]
|
Gets the fourth message argument as an integer value.
InterfaceId()
IMPORT_C
TInt
|
InterfaceId
|
(
|
)
|
const
|
IsNull()
TBool
|
IsNull
|
(
|
)
|
const [inline]
|
Tests whether this message handle is empty.
Panic(const TDesC &, TInt)
IMPORT_C void
|
Panic
|
(
|
const
TDesC
&
|
aCategory,
|
|
TInt
|
aReason
|
|
)
|
const
|
Ptr0()
const
TAny
*
|
Ptr0
|
(
|
)
|
const [inline]
|
Gets the first message argument as a pointer type.
Ptr1()
const
TAny
*
|
Ptr1
|
(
|
)
|
const [inline]
|
Gets the second message argument as a pointer type.
Ptr2()
const
TAny
*
|
Ptr2
|
(
|
)
|
const [inline]
|
Gets the third message argument as a pointer type.
Ptr3()
const
TAny
*
|
Ptr3
|
(
|
)
|
const [inline]
|
Gets the fourth message argument as a pointer type.
Read(TInt, TDes8 &, TInt)
Read(TInt, TDes16 &, TInt)
ReadClientReqMsg(TDes8 &)
IMPORT_C
Meta::SMetaDataNetCtor
*
|
ReadClientReqMsg
|
(
|
TDes8
&
|
aDstBuff
|
)
|
|
ReadL(TInt, TDes8 &, TInt)
void
|
ReadL
|
(
|
TInt
|
aReadParam,
|
|
TDes8
&
|
aBuf,
|
|
TInt
|
aOffset = 0
|
|
)
|
const [inline]
|
ReadL(TInt, TDes16 &, TInt)
void
|
ReadL
|
(
|
TInt
|
aReadParam,
|
|
TDes16
&
|
aBuf,
|
|
TInt
|
aOffset = 0
|
|
)
|
const [inline]
|
ScopeId()
IMPORT_C
TInt
|
ScopeId
|
(
|
)
|
const
|
Write(TInt, const TDesC8 &, TInt)
Write(TInt, const TDesC16 &, TInt)
WriteL(TInt, const TDesC8 &, TInt)
void
|
WriteL
|
(
|
TInt
|
aWriteParam,
|
|
const
TDesC8
&
|
aBuf,
|
|
TInt
|
aOffset = 0
|
|
)
|
const [inline]
|
WriteL(TInt, const TDesC16 &, TInt)
void
|
WriteL
|
(
|
TInt
|
aWriteParam,
|
|
const
TDesC16
&
|
aBuf,
|
|
TInt
|
aOffset = 0
|
|
)
|
const [inline]
|
Member Data Documentation
Den::TApiExtIdentification
iInterfaceId
TInt8
iRequestMsgParam
TInt8
|
iRequestMsgParam
|
[private]
|
TInt8
iResponseMsgParam
TInt8
|
iResponseMsgParam
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.