#include <transaction_reader.h>
Public Types | |
typedef std::pair< const std::string, const std::string > | map_key |
typedef std::map< const map_key, plugin::Plugin * > | map |
typedef std::vector< Plugin * > | vector |
Public Member Functions | |
TransactionReader (std::string name_arg) | |
virtual bool | read (const ReplicationServices::GlobalTransactionId &to_read, message::Transaction *to_fill)=0 |
virtual void | shutdownPlugin () |
virtual void | prime () |
virtual void | startup (drizzled::Session &) |
void | activate () |
void | deactivate () |
bool | isActive () const |
const std::string & | getName () const |
void | setModule (module::Module *module) |
const std::string & | getTypeName () const |
virtual bool | removeLast () const |
const std::string & | getModuleName () const |
Private Member Functions | |
TransactionReader (const TransactionReader &) | |
TransactionReader & | operator= (const TransactionReader &) |
Class which can read Transaction messages from some source
Definition at line 48 of file transaction_reader.h.
virtual bool drizzled::plugin::TransactionReader::read | ( | const ReplicationServices::GlobalTransactionId & | to_read, |
message::Transaction * | to_fill | ||
) | [pure virtual] |
Read and fill a Transaction message with the supplied Transaction message global transaction ID.
Global | transaction ID to find |
Pointer | to a command message to fill |
true | if Transaction message was read successfully and the supplied pointer to message was filled |
false | if not found or read successfully |
Implemented in TransactionLogReader.