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 * aStreamFactoryStream 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 * aStreamFactoryStream 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 & aVersionContains version information. A version is defined by a set of three numbers:major,minor,build version number
const RMessage2 & aMessage

SetStreamFactory(CStreamFactoryBase2 *)

IMPORT_C voidSetStreamFactory(CStreamFactoryBase2 *aStreamFactory)

Sets the stream factory

Parameters

CStreamFactoryBase2 * aStreamFactorya factory to be set

Member Enumerations Documentation

Enum anonymous

Priority flag

Enumerators

EPriority = 950

Member Data Documentation

CStreamFactoryBase2 * iStreamFactory

CStreamFactoryBase2 *iStreamFactory[private]