All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tron.p2p.discover.DiscoverService Maven / Gradle / Ivy

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);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy