| 37 | namespace phxbinlog { |
| 38 | |
| 39 | ReplicationTransfer::ReplicationTransfer(ReplicationCtx *ctx) |
| 40 | : ReplicationBase(ctx) { |
| 41 | event_manager_ = EventManager::GetGlobalEventManager(ctx->GetOption()); |
| 42 | checksum_ = 0; |
| 43 | } |
| 44 | |
| 45 | ReplicationTransfer::~ReplicationTransfer() { |
| 46 | Close(); |