Skip to content

Commit

Permalink
adapted DistributedHashTable to support confirming/rejecting puts
Browse files Browse the repository at this point in the history
  • Loading branch information
ippes committed Jun 4, 2014
1 parent 3db803c commit 8802c5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/java/net/tomp2p/p2p/DistributedHashTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ public FutureResponse create(final ChannelCreator channelCreator,
} else if (putBuilder.isPutMeta()) {
return storeRCP.putMeta(address, putBuilder,
channelCreator);
} else if (putBuilder.isPutConfirm() || putBuilder.isPutReject()) {
return storeRCP.putConfirm(address, putBuilder, channelCreator);
} else {
return storeRCP.put(address, putBuilder, channelCreator);
}
Expand Down

0 comments on commit 8802c5e

Please sign in to comment.