TObexPureFileBuffer Class Reference
class TObexPureFileBuffer : public TObexBufferingDetails
|
Provides alternate behaviour for a
CObexBufObject
, allowing use of a file to hold the object in its entirety. No memory buffer is used. This is a special case option provided to cater for the
MObexServerNotify
interface which requires the use of
CObexBufObject
objects. It is generally better to use a buffered variant.
Constructor & Destructor Documentation
TObexPureFileBuffer(const TPtrC &)
IMPORT_C
|
TObexPureFileBuffer
|
(
|
const
TPtrC
&
|
aFilename
|
)
|
|
Build a variant of
TObexBufferingDetails
which instructs the
CObexBufObject
to use a file as the only data store. This is a special case option provided to cater for the
MObexServerNotify
interface which requires the use of
CObexBufObject
objects. It is generally better to use a buffered variant. If the file cannot be opened for read/write access it will be opened in read only mode. In this situation, attempts to store data in this object will cause an Obex error to be signalled in response to the Obex packet which carried the body data.
Parameters
const
TPtrC
& aFilename
|
The file to link the object to.
|
Member Functions Documentation
Filename()
const
TPtrC
&
|
Filename
|
(
|
)
|
|
Member Data Documentation
const TPtrC & iFilename
const
TPtrC
&
|
iFilename
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.