REMimeSession Class Reference

#include <emimeclisession.h>

Link against: emimeclient.lib

class REMimeSession : public RSessionBase

Inherits from

Public Member Functions
REMimeSession()
IMPORT_C voidClose()
IMPORT_C TIntConnect()
IMPORT_C TIntGetPreferredBufSize(TInt &)
TInt InternalConnect()
IMPORT_C TIntRecognizeData(const RFile &, TDataRecognitionResult &)
IMPORT_C TIntRecognizeData(const TDesC &, const TDesC8 &, TDataRecognitionResult &)
IMPORT_C TIntRecognizeData(const TDesC &, TDataRecognitionResult &)
IMPORT_C TIntRecognizeSpecificData(const RFile &, const TDataType &, TBool &)
IMPORT_C TIntSetMaxDataBufSize(TUint)
IMPORT_C TVersionVersion()
Inherited Attributes
RHandleBase::iHandle
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()

Detailed Description

Description: Client side interface to the emime server This class provides the interface to access the services provided by emime server. Clients can use the functions provided by REMimeSession to perform mime recognition This class provides a session with the emime server. To use this class, clients first need to connect to the server. The session should be closed when it is no longer needed, before it goes out of scope. EMIME Session is NOT SHARABLE across threads in the Phase 1 implementation

Constructor & Destructor Documentation

REMimeSession ( )

IMPORT_CREMimeSession()

Member Function Documentation

Close ( )

IMPORT_C voidClose()

Reimplemented from RHandleBase::Close()

Connect ( )

IMPORT_C TIntConnect()

GetPreferredBufSize ( TInt & )

IMPORT_C TIntGetPreferredBufSize(TInt &aPreferredBufSize)const

InternalConnect ( )

TInt InternalConnect()

RecognizeData ( const RFile &, TDataRecognitionResult & )

IMPORT_C TIntRecognizeData(const RFile &aFile,
TDataRecognitionResult &aResult
)const

RecognizeData ( const TDesC &, const TDesC8 &, TDataRecognitionResult & )

IMPORT_C TIntRecognizeData(const TDesC &aName,
const TDesC8 &aBuffer,
TDataRecognitionResult &aDataType
)const

RecognizeData ( const TDesC &, TDataRecognitionResult & )

IMPORT_C TIntRecognizeData(const TDesC &aName,
TDataRecognitionResult &aDataType
)const

RecognizeSpecificData ( const RFile &, const TDataType &, TBool & )

IMPORT_C TIntRecognizeSpecificData(const RFile &aFile,
const TDataType &aDataType,
TBool &aResult
)const

SetMaxDataBufSize ( TUint )

IMPORT_C TIntSetMaxDataBufSize(TUintaBufSize)const

Version ( )

IMPORT_C TVersionVersion()const