Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32cmn.h
Link against: euser.lib

Class RMessage2

class RMessage2 : public RMessagePtr2;

Description

An object that encapsulates the details of a client request.

Derivation

Members

Defined in RMessage2:
EConnect, EDisConnect, Function(), Int0(), Int1(), Int2(), Int3(), Ptr0(), Ptr1(), Ptr2(), Ptr3(), RMessage2(), RMessage2(), Session(), TSessionMessages, iArgs, iFunction

Inherited from RMessagePtr2:
Client(), ClientL(), ClientProcessFlags(), ClientStatus(), Complete(), GetDesLength(), GetDesLengthL(), GetDesMaxLength(), GetDesMaxLengthL(), Handle(), HasCapability(), HasCapabilityL(), Identity(), IsNull(), Kill(), Panic(), Read(), ReadL(), SecureId(), SetProcessPriority(), SetProcessPriorityL(), Terminate(), VendorId(), Write(), WriteL(), iHandle


Construction and destruction


RMessage2()

inline RMessage2();

Description

Default constructor


RMessage2()

IMPORT_C RMessage2(const RMessagePtr2 &aPtr);

Description

Constructs an RMessage2 from an RMessagePtr2.

Parameters

const RMessagePtr2 &aPtr

A reference to an existing RMessagePtr2 object.

[Top]


Member functions


Function()

inline TInt Function() const;

Description

Gets the the number of the function requested by the client.

Return value

TInt

The function number.


Int0()

inline TInt Int0() const;

Description

Gets the first message argument as an integer value.

Return value

TInt

The first message argument.


Int1()

inline TInt Int1() const;

Description

Gets the second message argument as an integer value.

Return value

TInt

The second message argument.


Int2()

inline TInt Int2() const;

Description

Gets the third message argument as an integer value.

Return value

TInt

The third message argument.


Int3()

inline TInt Int3() const;

Description

Gets the fourth message argument as an integer value.

Return value

TInt

The fourth message argument.


Ptr0()

inline const TAny *Ptr0() const;

Description

Gets the first message argument as a pointer type.

Return value

const TAny *

The first message argument.


Ptr1()

inline const TAny *Ptr1() const;

Description

Gets the second message argument as a pointer type.

Return value

const TAny *

The second message argument.


Ptr2()

inline const TAny *Ptr2() const;

Description

Gets the third message argument as a pointer type.

Return value

const TAny *

The third message argument.


Ptr3()

inline const TAny *Ptr3() const;

Description

Gets the fourth message argument as a pointer type.

Return value

const TAny *

The fourth message argument.


Session()

inline CSession2 *Session() const;

Description

Gets a pointer to the session.

Return value

CSession2 *

A pointer to the session object.

[Top]


Member enumerations


Enum TSessionMessages

TSessionMessages

Description

Defines internal message types.

EConnect

A message type used internally that means connect.

EDisConnect

A message type used internally that means disconnect.

[Top]


Member data


iFunction

protected: TInt iFunction;

Description

The request type.


iArgs

protected: TInt iArgs;

Description

A copy of the message arguments.