aboutsummaryrefslogtreecommitdiff
path: root/src/org/gnunet/peerinfo/PeerProcessor.java
blob: c981afd433ab25cb6c4d65aa22f4e55ffc3037d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package org.gnunet.peerinfo;

import org.gnunet.util.HelloMessage;
import org.gnunet.util.PeerIdentity;

/**
 * Callback class to receive known peers and their HELLOs.
 */
public interface PeerProcessor {
    public void onPeer(PeerIdentity peerIdentity, HelloMessage hello);
    public void onEnd();
}