Added clarifying comment
This commit is contained in:
parent
df7f03d81a
commit
831e4bcbcc
@ -21,6 +21,14 @@ import ch.dissem.bitmessage.entity.BitmessageAddress;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface AddressRepository {
|
public interface AddressRepository {
|
||||||
|
/**
|
||||||
|
* Returns a matching BitmessageAddress if there is one with the given ripe or tag, that
|
||||||
|
* has no public key yet. If it doesn't exist or already has a public key, null is returned.
|
||||||
|
*
|
||||||
|
* @param ripeOrTag Either ripe or tag (depending of address version) of an address with
|
||||||
|
* missing public key.
|
||||||
|
* @return the matching address if there is one without public key, or null otherwise.
|
||||||
|
*/
|
||||||
BitmessageAddress findContact(byte[] ripeOrTag);
|
BitmessageAddress findContact(byte[] ripeOrTag);
|
||||||
|
|
||||||
BitmessageAddress findIdentity(byte[] ripeOrTag);
|
BitmessageAddress findIdentity(byte[] ripeOrTag);
|
||||||
|
Loading…
Reference in New Issue
Block a user