|
||
class RMessage2 : public RMessagePtr2;
An object that encapsulates the details of a client request.
RMessagePtr2
- A handle to a message sent by the client to the server.
RMessage2
-
An object that encapsulates the details of a client request.
Defined in RMessage2
:
EConnect
A message type used internally that means connect.EDisConnect
A message type used internally that means disconnect.Function()const
Gets the the number of the function requested by the client.Int0()const
Gets the first message argument as an integer value.Int1()const
Gets the second message argument as an integer value.Int2()const
Gets the third message argument as an integer value.Int3()const
Gets the fourth message argument as an integer value.Ptr0()const
Gets the first message argument as a pointer type.Ptr1()const
Gets the second message argument as a pointer type.Ptr2()const
Gets the third message argument as a pointer type.Ptr3()const
Gets the fourth message argument as a pointer type.RMessage2()
Default constructor RMessage2(const RMessagePtr2 &)
Constructs an RMessage2 from an RMessagePtr2.Session()const
Gets a pointer to the session.TSessionMessages
Defines internal message types. iArgs
A copy of the message arguments.iFunction
The request type. Inherited from RMessagePtr2
:
Client(RThread &,TOwnerType)const
Opens a handle on the client thread.ClientL(RThread &,TOwnerType)const
Opens a handle on the client thread.ClientProcessFlags()const
ClientStatus()const
Returns the pointer to the clients TRequestStatus associated with the message.Complete(RHandleBase)const
Duplicates the specified handle in the client thread, and returns this handle as...Complete(TInt)const
Frees this message.GetDesLength(TInt)const
Gets the length of a descriptor argument in the client's process.GetDesLengthL(TInt)const
Gets the length of a descriptor argument in the client's process, leaving on fai...GetDesMaxLength(TInt)const
Gets the maximum length of a descriptor argument in the client's process.GetDesMaxLengthL(TInt)const
Gets the maximum length of a descriptor argument in the client's process, leavin...Handle()const
Gets the message handle value.HasCapability(TCapability,TCapability,const char *)const
Check if the process which sent this message has both of the given capabilities.HasCapability(TCapability,const char *)const
Check if the process which sent this message has a given capability.HasCapabilityL(TCapability,TCapability,const char *)const
Check if the process which sent this message has both of the given capabilities.HasCapabilityL(TCapability,const char *)const
Check if the process which sent this message has a given capability.Identity()const
IsNull()const
Tests whether this message handle is empty.Kill(TInt)const
Kills the client.Panic(const TDesC &,TInt)const
Panics the client.Read(TInt,TDes16 &,TInt)const
Reads data from the specified offset within the 16-bit descriptor argument, into...Read(TInt,TDes8 &,TInt)const
Reads data from the specified offset within the 8-bit descriptor argument, into ...ReadL(TInt,TDes16 &,TInt)const
Reads data from the specified offset within the 16-bit descriptor argument, into...ReadL(TInt,TDes8 &,TInt)const
Reads data from the specified offset within the 8-bit descriptor argument, into ...SecureId()const
Return the Secure ID of the process which sent this message.SetProcessPriority(TProcessPriority)const
Sets the priority of the client's process.SetProcessPriorityL(TProcessPriority)const
Sets the priority of the client's process.Terminate(TInt)const
Terminates the client.VendorId()const
Return the Vendor ID of the process which sent this message.Write(TInt,const TDesC16 &,TInt)const
Writes data from the specified source descriptor to the specified offset within ...Write(TInt,const TDesC8 &,TInt)const
Writes data from the specified source descriptor to the specified offset within ...WriteL(TInt,const TDesC16 &,TInt)const
Writes data from the specified source descriptor to the specified offset within ...WriteL(TInt,const TDesC8 &,TInt)const
Writes data from the specified source descriptor to the specified offset within ...iHandle
IMPORT_C RMessage2(const RMessagePtr2 &aPtr);
Constructs an RMessage2 from an RMessagePtr2
.
|
inline TInt Function() const;
Gets the the number of the function requested by the client.
|
inline TInt Int0() const;
Gets the first message argument as an integer value.
|
inline TInt Int1() const;
Gets the second message argument as an integer value.
|
inline TInt Int2() const;
Gets the third message argument as an integer value.
|
inline TInt Int3() const;
Gets the fourth message argument as an integer value.
|
inline const TAny* Ptr0() const;
Gets the first message argument as a pointer type.
|
inline const TAny* Ptr1() const;
Gets the second message argument as a pointer type.
|
inline const TAny* Ptr2() const;
Gets the third message argument as a pointer type.
|
inline const TAny* Ptr3() const;
Gets the fourth message argument as a pointer type.
|
inline CSession2* Session() const;
Gets a pointer to the session.
|
TSessionMessages
Defines internal message types.
|
protected: TInt iArgs[KMaxMessageArguments];
A copy of the message arguments.