org.tron.p2p.discover.DiscoverService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libp2p Show documentation
Show all versions of libp2p Show documentation
libp2p is a p2p network SDK implemented in java language.
The newest version!
package org.tron.p2p.discover;
import org.tron.p2p.discover.socket.EventHandler;
import org.tron.p2p.discover.socket.UdpEvent;
import java.util.List;
public interface DiscoverService extends EventHandler {
void init();
void close();
List getConnectableNodes();
List getTableNodes();
List getAllNodes();
Node getPublicHomeNode();
void channelActivated();
void handleEvent(UdpEvent event);
}