BSUL::CClientMessage Class Reference
class BSUL::CClientMessage : public CBase
|
This class is used by a server to sanitise incoming messages. The class provides a wrapper around an
RMessage2
object and provides a method for validation of the message against the constraints defined in the message schema. This class also provides methods for safely accessing the message arguments, and for error handling and logging of bad messages. This class is not intended for derivation.
Constructor & Destructor Documentation
CClientMessage(const RMessage2 &, const TClientMessageServerData &)
~CClientMessage()
IMPORT_C
|
~CClientMessage
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CheckSecurityPolicyL(const TSecurityPolicy &)
void
|
CheckSecurityPolicyL
|
(
|
const
TSecurityPolicy
&
|
aPolicy
|
)
|
[private, virtual]
|
CheckValidatedL(TInt)
void
|
CheckValidatedL
|
(
|
TInt
|
aParam
|
)
|
[private]
|
CompleteRequestL(TInt)
IMPORT_C void
|
CompleteRequestL
|
(
|
TInt
|
aError
|
)
|
[virtual]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Function()
IMPORT_C
TInt
|
Function
|
(
|
)
|
|
GetDes16L(TInt)
IMPORT_C const
TDesC
&
|
GetDes16L
|
(
|
TInt
|
aParam
|
)
|
[virtual]
|
GetDes8L(TInt)
IMPORT_C const
TDesC8
&
|
GetDes8L
|
(
|
TInt
|
aParam
|
)
|
[virtual]
|
GetDesLengthL(TInt)
IMPORT_C
TInt
|
GetDesLengthL
|
(
|
TInt
|
aParam
|
)
|
[virtual]
|
GetDesMaxLengthL(TInt)
IMPORT_C
TInt
|
GetDesMaxLengthL
|
(
|
TInt
|
aParam
|
)
|
[virtual]
|
GetIntL(TInt)
IMPORT_C
TInt
|
GetIntL
|
(
|
TInt
|
aParam
|
)
|
[virtual]
|
GetPtrL(TInt)
IMPORT_C const
TAny
*
|
GetPtrL
|
(
|
TInt
|
aParam
|
)
|
[virtual]
|
InitialiseFrameworkL(const TClientMessageServerData &)
LogBadMessageL(TInt)
void
|
LogBadMessageL
|
(
|
TInt
|
aError
|
)
|
[private, virtual]
|
LogBadMessages()
TBool
|
LogBadMessages
|
(
|
)
|
[private]
|
PanicClient(const TDesC &, TInt)
IMPORT_C void
|
PanicClient
|
(
|
const
TDesC
&
|
aServer,
|
|
TInt
|
aPanic
|
|
)
|
[virtual]
|
ReadL(TInt, TDes8 &, TInt)
IMPORT_C void
|
ReadL
|
(
|
TInt
|
aParam,
|
|
TDes8
&
|
aDes,
|
|
TInt
|
aOffset = 0
|
|
)
|
[virtual]
|
ReadL(TInt, TDes16 &, TInt)
IMPORT_C void
|
ReadL
|
(
|
TInt
|
aParam,
|
|
TDes16
&
|
aDes,
|
|
TInt
|
aOffset = 0
|
|
)
|
[virtual]
|
ValidateL()
IMPORT_C void
|
ValidateL
|
(
|
)
|
[virtual]
|
ValidateL(TInt)
IMPORT_C void
|
ValidateL
|
(
|
TInt
|
aParam
|
)
|
[virtual]
|
WriteL(TInt, const TDesC8 &, TInt)
IMPORT_C void
|
WriteL
|
(
|
TInt
|
aParam,
|
|
const
TDesC8
&
|
aDes,
|
|
TInt
|
aOffset = 0
|
|
)
|
[virtual]
|
WriteL(TInt, const TDesC16 &, TInt)
IMPORT_C void
|
WriteL
|
(
|
TInt
|
aParam,
|
|
const
TDesC16
&
|
aDes,
|
|
TInt
|
aOffset = 0
|
|
)
|
[virtual]
|
Member Data Documentation
const RMessage2 & iMessage
RPointerArray< CMessageParameterBase > iParameters
const TClientMessageServerData & iServerData
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.