| 864 | } |
| 865 | |
| 866 | int Learner :: SendCheckpointAck( |
| 867 | const nodeid_t iSendNodeID, |
| 868 | const uint64_t llUUID, |
| 869 | const uint64_t llSequence, |
| 870 | const int iFlag) |
| 871 | { |
| 872 | CheckpointMsg oCheckpointMsg; |
| 873 | |
| 874 | oCheckpointMsg.set_msgtype(CheckpointMsgType_SendFile_Ack); |
| 875 | oCheckpointMsg.set_nodeid(m_poConfig->GetMyNodeID()); |
| 876 | oCheckpointMsg.set_uuid(llUUID); |
| 877 | oCheckpointMsg.set_sequence(llSequence); |
| 878 | oCheckpointMsg.set_flag(iFlag); |
| 879 | |
| 880 | return SendMessage(iSendNodeID, oCheckpointMsg, Message_SendType_TCP); |
| 881 | } |
| 882 | |
| 883 | void Learner :: OnSendCheckpointAck(const CheckpointMsg & oCheckpointMsg) |
| 884 | { |
nothing calls this directly
no outgoing calls
no test coverage detected