|
|
|
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:
EConnectA message type used internally that means connect.EDisConnectA message type used internally that means disconnect.Function()constGets the the number of the function requested by the client.Int0()constGets the first message argument as an integer value.Int1()constGets the second message argument as an integer value.Int2()constGets the third message argument as an integer value.Int3()constGets the fourth message argument as an integer value.Ptr0()constGets the first message argument as a pointer type.Ptr1()constGets the second message argument as a pointer type.Ptr2()constGets the third message argument as a pointer type.Ptr3()constGets the fourth message argument as a pointer type.RMessage2()Default constructor RMessage2(const RMessagePtr2 &)Constructs an RMessage2 from an RMessagePtr2.Session()constGets a pointer to the session.TSessionMessagesDefines internal message types. iArgsA copy of the message arguments.iFunctionThe request type. Inherited from RMessagePtr2:
Client(RThread &,TOwnerType)constOpens a handle on the client thread.ClientL(RThread &,TOwnerType)constOpens a handle on the client thread.ClientProcessFlags()constClientStatus()constReturns the pointer to the clients TRequestStatus associated with the message.Complete(RHandleBase)constDuplicates the specified handle in the client thread, and returns this handle as...Complete(TInt)constFrees this message.GetDesLength(TInt)constGets the length of a descriptor argument in the client's process.GetDesLengthL(TInt)constGets the length of a descriptor argument in the client's process, leaving on fai...GetDesMaxLength(TInt)constGets the maximum length of a descriptor argument in the client's process.GetDesMaxLengthL(TInt)constGets the maximum length of a descriptor argument in the client's process, leavin...Handle()constGets the message handle value.HasCapability(TCapability,TCapability,const char *)constCheck if the process which sent this message has both of the given capabilities.HasCapability(TCapability,const char *)constCheck if the process which sent this message has a given capability.HasCapabilityL(TCapability,TCapability,const char *)constCheck if the process which sent this message has both of the given capabilities.HasCapabilityL(TCapability,const char *)constCheck if the process which sent this message has a given capability.Identity()constIsNull()constTests whether this message handle is empty.Kill(TInt)constKills the client.Panic(const TDesC &,TInt)constPanics the client.Read(TInt,TDes16 &,TInt)constReads data from the specified offset within the 16-bit descriptor argument, into...Read(TInt,TDes8 &,TInt)constReads data from the specified offset within the 8-bit descriptor argument, into ...ReadL(TInt,TDes16 &,TInt)constReads data from the specified offset within the 16-bit descriptor argument, into...ReadL(TInt,TDes8 &,TInt)constReads data from the specified offset within the 8-bit descriptor argument, into ...SecureId()constReturn the Secure ID of the process which sent this message.SetProcessPriority(TProcessPriority)constSets the priority of the client's process.SetProcessPriorityL(TProcessPriority)constSets the priority of the client's process.Terminate(TInt)constTerminates the client.VendorId()constReturn the Vendor ID of the process which sent this message.Write(TInt,const TDesC16 &,TInt)constWrites data from the specified source descriptor to the specified offset within ...Write(TInt,const TDesC8 &,TInt)constWrites data from the specified source descriptor to the specified offset within ...WriteL(TInt,const TDesC16 &,TInt)constWrites data from the specified source descriptor to the specified offset within ...WriteL(TInt,const TDesC8 &,TInt)constWrites data from the specified source descriptor to the specified offset within ...iHandleIMPORT_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.