Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: saclient.h
Link against: sysagt.lib

Class RSystemAgentBase

RSystemAgentBase

Support

Supported from 6.0

Description

Base class for client handles to the System Agent.

The class encapsulates a connection to the System Agent server.

Derivation

RHandleBaseHandle to an object
RSessionBaseClient-side handle to a session with a server
RSystemAgentBaseBase class for client handles to the System Agent

Defined in RSystemAgentBase:
Connect(), Version()

Inherited from RHandleBase:
Close(), Duplicate(), Handle(), SetHandle()

Inherited from RSessionBase:
Attach(), CreateSession(), EAutoAttach, EExplicitAttach, Send(), SendReceive(), SetRetry(), Share(), TAttachMode

See also:


Server connection


Connect()

TInt Connect();

Description

Connects a client to the System Agent server, creating a session with that server.

The server is started, if it is not already running. If an attempt to start the server fails, the function raises a Sysagt 0 panic.

Return value

TInt

KErrNone if successful; otherwise, one of the system-wide error codes.


Version()

TVersion Version() const;

Description

Gets the current System Agent server version.

Return value

TVersion

The version number.