IO Driver. More...
#include <io.h>
Inherits dmlite::BaseInterface.

Public Member Functions | |
| virtual | ~IODriver () |
| Virtual destructor. | |
| virtual IOHandler * | createIOHandler (const std::string &pfn, int flags, const Extensible &extras)=0 throw (DmException) |
| virtual void | doneWriting (const std::string &pfn, const Extensible ¶ms)=0 throw (DmException) |
IO Driver.
| IODriver::~IODriver | ( | ) | [virtual] |
Virtual destructor.
| virtual IOHandler* dmlite::IODriver::createIOHandler | ( | const std::string & | pfn, | |
| int | flags, | |||
| const Extensible & | extras | |||
| ) | throw (DmException) [pure virtual] |
Instantiate a implementation of IOHandler
| pfn | The file name. | |
| flags | The open mode. | |
| extras | As was given by the PoolHandler. |
| virtual void dmlite::IODriver::doneWriting | ( | const std::string & | pfn, | |
| const Extensible & | params | |||
| ) | throw (DmException) [pure virtual] |
Must be called when the front-end is done writing.
| pfn | The file name. | |
| params | The extra parameters as was returned by whereToWrite |
1.6.1