Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from RMessagePtr2:


Construction and destruction


RMessage2()

inline RMessage2();

Description

Default constructor


RMessage2(const RMessagePtr2 &)

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()const

inline TInt Function() const;

Description

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

Return value

TInt

The function number.


Int0()const

inline TInt Int0() const;

Description

Gets the first message argument as an integer value.

Return value

TInt

The first message argument.


Int1()const

inline TInt Int1() const;

Description

Gets the second message argument as an integer value.

Return value

TInt

The second message argument.


Int2()const

inline TInt Int2() const;

Description

Gets the third message argument as an integer value.

Return value

TInt

The third message argument.


Int3()const

inline TInt Int3() const;

Description

Gets the fourth message argument as an integer value.

Return value

TInt

The fourth message argument.


Ptr0()const

inline const TAny* Ptr0() const;

Description

Gets the first message argument as a pointer type.

Return value

const TAny *

The first message argument.


Ptr1()const

inline const TAny* Ptr1() const;

Description

Gets the second message argument as a pointer type.

Return value

const TAny *

The second message argument.


Ptr2()const

inline const TAny* Ptr2() const;

Description

Gets the third message argument as a pointer type.

Return value

const TAny *

The third message argument.


Ptr3()const

inline const TAny* Ptr3() const;

Description

Gets the fourth message argument as a pointer type.

Return value

const TAny *

The fourth message argument.


Session()const

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[KMaxMessageArguments];

Description

A copy of the message arguments.