RMessage2 Class Reference
class RMessage2 : public RMessagePtr2 |
An object that encapsulates the details of a client request.
Inherited Functions |
---|
| RMessagePtr2::Client(RThread &,TOwnerType)const |
| RMessagePtr2::ClientIsRealtime()const |
| RMessagePtr2::ClientL(RThread &,TOwnerType)const |
| RMessagePtr2::ClientProcessFlags()const |
| RMessagePtr2::ClientStatus()const |
| RMessagePtr2::Complete(RHandleBase)const |
| RMessagePtr2::Complete(TInt)const |
| RMessagePtr2::GetDesLength(TInt)const |
| RMessagePtr2::GetDesLengthL(TInt)const |
| RMessagePtr2::GetDesMaxLength(TInt)const |
| RMessagePtr2::GetDesMaxLengthL(TInt)const |
| RMessagePtr2::Handle()const |
| RMessagePtr2::HasCapability(TCapability,TCapability,const char *)const |
| RMessagePtr2::HasCapability(TCapability,const char *)const |
| RMessagePtr2::HasCapabilityL(TCapability,TCapability,const char *)const |
| RMessagePtr2::HasCapabilityL(TCapability,const char *)const |
| RMessagePtr2::Identity()const |
| RMessagePtr2::IsNull()const |
| RMessagePtr2::Kill(TInt)const |
| RMessagePtr2::Panic(const TDesC &,TInt)const |
| RMessagePtr2::RMessagePtr2() |
| RMessagePtr2::Read(TInt,TDes16 &,TInt)const |
| RMessagePtr2::Read(TInt,TDes8 &,TInt)const |
| RMessagePtr2::ReadL(TInt,TDes16 &,TInt)const |
| RMessagePtr2::ReadL(TInt,TDes8 &,TInt)const |
| RMessagePtr2::SecureId()const |
| RMessagePtr2::SetProcessPriority(TProcessPriority)const |
| RMessagePtr2::SetProcessPriorityL(TProcessPriority)const |
| RMessagePtr2::Terminate(TInt)const |
| RMessagePtr2::VendorId()const |
| RMessagePtr2::Write(TInt,const TDesC16 &,TInt)const |
| RMessagePtr2::Write(TInt,const TDesC8 &,TInt)const |
| RMessagePtr2::WriteL(TInt,const TDesC16 &,TInt)const |
| RMessagePtr2::WriteL(TInt,const TDesC8 &,TInt)const |
Constructor & Destructor Documentation
RMessage2(const RMessagePtr2 &)
Parameters
const RMessagePtr2 & aPtr | A reference to an existing RMessagePtr2 object. |
Member Functions Documentation
ClearAuthorised()
void | ClearAuthorised | ( | ) | const |
Sets the authorised flag to a state of not authorised. This is required as there is a default constructor for RMessage2 and one cannot guarantee that iFlags was initialised. This is called from CPolicyServer::RunL.
This is labelled as a const functions as everybody handles const RMessage2&'s. The constness is actually referring to the underlying RMessagePtr2 not the tranisent RMessage2 class.
Function()
TInt
| Function | ( | ) | const [inline] |
Gets the the number of the function requested by the client.
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.
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.
Session()
Gets a pointer to the session.
SetAuthorised()
Sets this message to an authorised state. This is used only by CPolicyServer. This flags use by the policy server implies two things: 1) That the message has passed any appropriate security checks. (ie. one of the static policy check, CustomSecurityCheckL, or CustomFailureActionL, returned ETrue.) 2) That any leaves that occur subsequent to this flag being set happen _only_ in the session's ServiceL. ie. Nothing can leave between this flag being set and the session's ServiceL being called.
This is labelled as a const functions as everybody handles const RMessage2&'s. The constness is actually referring to the underlying RMessagePtr2 not the tranisent RMessage2 class.
Member Enumerations Documentation
Enum TSessionMessages
Defines internal message types.
Enumerators
EConnect = -1 |
A message type used internally that means connect.
|
EDisConnect = -2 |
A message type used internally that means disconnect.
|
Member Data Documentation
TInt
iArgs
A copy of the message arguments.
TInt
iFunction
TInt
| iFunction | [protected] |
const TAny * iSessionPtr
const TAny * | iSessionPtr | [protected] |
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.