scuttlebutt-discovery / org.apache.tuweni.scuttlebutt.discovery / ScuttlebuttLocalDiscoveryService / <init>

<init>

ScuttlebuttLocalDiscoveryService(vertx: Vertx, logger: Logger, listenPort: Int, listenNetworkInterface: String, multicastAddress: String)

Default constructor.

Parameters

vertx - Vert.x instance used to create the UDP socket

logger - the logger used to log events and errors

listenPort - the port to bind the UDP socket to

listenNetworkInterface - the network interface to bind the UDP socket to

multicastAddress - the address to broadcast multicast packets to