CRedirServer2 Class Reference

class CRedirServer2 : public CServer2

Redirection server class.

This class represents the Redir server itself. It is created through the factory function NewL. It is not intended for user derivation.

Inherits from

Constructor & Destructor Documentation

CRedirServer2(CStreamFactoryBase2 *)

CRedirServer2 ( CStreamFactoryBase2 * aStreamFactory ) [private]

Default constructor

Parameters

CStreamFactoryBase2 * aStreamFactory Stream factory.

~CRedirServer2()

~CRedirServer2 ( ) [virtual]

Virtual destructor

Member Functions Documentation

NewL(CStreamFactoryBase2 *)

IMPORT_C CRedirServer2 * NewL ( CStreamFactoryBase2 * aStreamFactory ) [static]

Constructs and allocates memory for a new CRedirServer2 object.

Parameters

CStreamFactoryBase2 * aStreamFactory Stream factory.

NewSessionL(const TVersion &, const RMessage2 &)

CSession2 * NewSessionL ( const TVersion & aVersion,
const RMessage2 & aMessage
) const [private, virtual]
Create a new server session. Checks if the aVersion is the right version and make a new session.
leave
KErrNotSupported

Parameters

const TVersion & aVersion Contains version information. A version is defined by a set of three numbers:major,minor,build version number
const RMessage2 & aMessage

SetStreamFactory(CStreamFactoryBase2 *)

IMPORT_C void SetStreamFactory ( CStreamFactoryBase2 * aStreamFactory )

Sets the stream factory

Parameters

CStreamFactoryBase2 * aStreamFactory a factory to be set

Member Enumerations Documentation

Enum anonymous

Priority flag

Enumerators

EPriority = 950

Member Data Documentation

CStreamFactoryBase2 * iStreamFactory

CStreamFactoryBase2 * iStreamFactory [private]