killNode() to nodeKilled()

This commit is contained in:
wangyix 2014-06-11 11:11:04 -07:00
parent fc07ceb412
commit 760627003f
2 changed files with 3 additions and 3 deletions

View file

@ -50,6 +50,6 @@ bool ReceivedPacketProcessor::process() {
return isStillRunning(); // keep running till they terminate us
}
void ReceivedPacketProcessor::killNode(const SharedNodePointer& node) {
_nodePacketCounts.remove(node->getUUID());
void ReceivedPacketProcessor::nodeKilled(const SharedNodePointer& node) {
int numRemoved = _nodePacketCounts.remove(node->getUUID());
}

View file

@ -42,7 +42,7 @@ public:
int packetsToProcessCount() const { return _packets.size(); }
public slots:
void killNode(const SharedNodePointer& node);
void nodeKilled(const SharedNodePointer& node);
protected:
/// Callback for processing of recieved packets. Implement this to process the incoming packets.