RFbsSession Class Reference

class RFbsSession : protected RSessionBase

A session with the font and bitmap server.

Inherits from

Public Member Functions
RFbsSession()
TInt AllocScanLineBuffer(TInt)
IMPORT_C voidCallBack()
IMPORT_C TIntConnect()
IMPORT_C TIntConnect(RFs &)
IMPORT_C voidDisconnect()
HBufC8 *GetDecompressionBuffer(TInt)
HBufC8 *GetExtraBuffer(TInt)
IMPORT_C TIntGetHeapSizes(TInt &, TInt &, TInt &)
HBufC8 *GetScanLineBuffer()
IMPORT_C RFbsSession *GetSession()
IMPORT_C TUint8 *HeapBase()
IMPORT_C voidResetCallBack()
IMPORT_C TIntResourceCount()
IMPORT_C TIntSendCommand(TInt, TInt, TInt, TInt, TInt)
TInt SendCommand(TInt, const TIpcArgs &)
voidSendCommand(TInt, const TIpcArgs &, TRequestStatus &)
TInt ServerSessionHandle()
TInt SessionHandle()
IMPORT_C voidSetCallBack(TCallBack)
voidSetCallBackPtr(TInt *)
IMPORT_C TVersionVersion()
Private Member Functions
TInt DoAlloc(RFbsSession *&)
TInt DoConnect(RFs &)
RFs &FileServer()
TBool LookupBitmapInROM(const TDesC &, TAny *&)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
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()
Public Member Enumerations
enumTHeapFailType { EHeapFailTypeServerMemory, EHeapFailTypeHeapMemory }
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
TCallBack iCallBack
TInt iConnections
HBufC8 *iDecompressionBuffer
RFs iFileServer
CFbsSessionHelper *iHelper
RChunk iLargeBitmapChunk
CFbsRalCache *iRomFileAddrCache
HBufC8 *iScanLineBuffer
RChunk iSharedChunk
TUint32 *iSpare
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RFbsSession()

IMPORT_CRFbsSession()

Member Functions Documentation

AllocScanLineBuffer(TInt)

TInt AllocScanLineBuffer(TIntaSize)

Parameters

TInt aSize

CallBack()

IMPORT_C voidCallBack()

Connect()

IMPORT_C TIntConnect()[static]

Connect(RFs &)

IMPORT_C TIntConnect(RFs &aFileServer)[static]

Parameters

RFs & aFileServer

Disconnect()

IMPORT_C voidDisconnect()[static]

DoAlloc(RFbsSession *&)

TInt DoAlloc(RFbsSession *&aNewSession)[private, static]

Parameters

RFbsSession *& aNewSession

DoConnect(RFs &)

TInt DoConnect(RFs &aFileServer)[private]

Parameters

RFs & aFileServer

FileServer()

RFs &FileServer()[private, inline]

GetDecompressionBuffer(TInt)

HBufC8 *GetDecompressionBuffer(TIntaSize)

Parameters

TInt aSize

GetExtraBuffer(TInt)

HBufC8 *GetExtraBuffer(TIntaSize)

Parameters

TInt aSize

GetHeapSizes(TInt &, TInt &, TInt &)

IMPORT_C TIntGetHeapSizes(TInt &aDefaultHeap,
TInt &aSmallBmpHeap,
TInt &aBigBmpChunk
)

Parameters

TInt & aDefaultHeap
TInt & aSmallBmpHeap
TInt & aBigBmpChunk

GetScanLineBuffer()

HBufC8 *GetScanLineBuffer()

GetSession()

IMPORT_C RFbsSession *GetSession()[static]

HeapBase()

IMPORT_C TUint8 *HeapBase()const

LookupBitmapInROM(const TDesC &, TAny *&)

TBool LookupBitmapInROM(const TDesC &aFilename,
TAny *&aAddr
)[private]

Parameters

const TDesC & aFilename
TAny *& aAddr

ResetCallBack()

IMPORT_C voidResetCallBack()

ResourceCount()

IMPORT_C TIntResourceCount()

SendCommand(TInt, TInt, TInt, TInt, TInt)

IMPORT_C TIntSendCommand(TIntaMessage,
TIntaInt0 = 0,
TIntaInt1 = 0,
TIntaInt2 = 0,
TIntaInt3 = 0
)const

Parameters

TInt aMessage
TInt aInt0 = 0
TInt aInt1 = 0
TInt aInt2 = 0
TInt aInt3 = 0

SendCommand(TInt, const TIpcArgs &)

TInt SendCommand(TIntaMessage,
const TIpcArgs &aArgs
)const

Parameters

TInt aMessage
const TIpcArgs & aArgs

SendCommand(TInt, const TIpcArgs &, TRequestStatus &)

voidSendCommand(TIntaMessage,
const TIpcArgs &aArgs,
TRequestStatus &aStatus
)const

Parameters

TInt aMessage
const TIpcArgs & aArgs
TRequestStatus & aStatus

ServerSessionHandle()

TInt ServerSessionHandle()const

SessionHandle()

TInt SessionHandle()const [inline]

SetCallBack(TCallBack)

IMPORT_C voidSetCallBack(TCallBackaCallBack)

Parameters

TCallBack aCallBack

SetCallBackPtr(TInt *)

voidSetCallBackPtr(TInt *aBitmapHandle)const

Parameters

TInt * aBitmapHandle

Version()

IMPORT_C TVersionVersion()

Member Enumerations Documentation

Enum THeapFailType

WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases. Used for testing server side out of memory failures. Test

Enumerators

EHeapFailTypeServerMemory
EHeapFailTypeHeapMemory

Member Data Documentation

TCallBack iCallBack

TCallBack iCallBack[private]

TInt iConnections

TInt iConnections[private]

HBufC8 * iDecompressionBuffer

HBufC8 *iDecompressionBuffer[private]

RFs iFileServer

RFs iFileServer[private]

CFbsSessionHelper * iHelper

CFbsSessionHelper *iHelper[private]

RChunk iLargeBitmapChunk

RChunk iLargeBitmapChunk[private]

CFbsRalCache * iRomFileAddrCache

CFbsRalCache *iRomFileAddrCache[private]

HBufC8 * iScanLineBuffer

HBufC8 *iScanLineBuffer[private]

RChunk iSharedChunk

RChunk iSharedChunk[private]

TUint32 * iSpare

TUint32 *iSpare[private]