tomp2p / TomP2P

A P2P-based high performance key-value pair storage library
http://tomp2p.net
Apache License 2.0
438 stars 122 forks source link

Pass publicKey of signed request to ObjectDataReply resp. RawDataReply #124

Open rmatil opened 8 years ago

rmatil commented 8 years ago

If a message is signed, e.g.


this.peerDht.peer().sendDirect(receiverAddress).object(dataToSend).sign().start();

pass the public key to the reply-function

public Object reply(PeerAddress sender, Object request) {}