CFaxSharedFileHandles Class Reference
class CFaxSharedFileHandles : private CBase |
Utility class that provides a container for holding an adopted file handle passed between a client and server.
As part of the classes instantiation it takes in an RMessage2 reference which it uses to call RFile::AdoptFromClient(). Once the file been successfully adopted it is the responsibility of the adoptee to close the file when finished. Therefore the destructor of the class calls RFile::Close() to close the adopted file handle on deletion of this class.
This class is only intended to be instantiated from within Etel which is why the factory constructor is not exported. Etel passes a pointer to TSYs as part of transmitting a fax.
Released in v9.0 to aid passing of adopted file handle between Etel server, TSY and Fax server.
Constructor & Destructor Documentation
CFaxSharedFileHandles()
CFaxSharedFileHandles | ( | ) | [protected] |
~CFaxSharedFileHandles()
IMPORT_C | ~CFaxSharedFileHandles | ( | ) | |
Member Functions Documentation
ConstructL(const RMessage2 &)
void | ConstructL | ( | const RMessage2 & | aMsg | ) | [protected] |
Adopt the file during construction.
File()
Reference to an adopted file.
NewL(const RMessage2 &)
Non-exported static factory constructor. This class should only be instantiated by Etel server.
Member Data Documentation
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.