rlpx / org.apache.tuweni.rlpx.vertx / VertxRLPxService / <init>

<init>

VertxRLPxService(vertx: Vertx, loggerProvider: LoggerProvider, listenPort: Int, networkInterface: String, advertisedPort: Int, identityKeyPair: KeyPair, subProtocols: MutableList<SubProtocol>, clientId: String)

Default constructor.

Parameters

vertx - Vert.x object used to build the network components

loggerProvider - logger provider to log messages

listenPort - the port to listen to

networkInterface - the network interface to bind to

advertisedPort - the port to advertise in HELLO messages to peers

identityKeyPair - the identity of this client

subProtocols - subprotocols supported

clientId - the client identifier, such as "RLPX 1.2/build 389"

VertxRLPxService(vertx: Vertx, loggerProvider: LoggerProvider, listenPort: Int, networkInterface: String, advertisedPort: Int, identityKeyPair: KeyPair, subProtocols: MutableList<SubProtocol>, clientId: String, repository: WireConnectionRepository)

Default constructor.

Parameters

vertx - Vert.x object used to build the network components

loggerProvider - logger provider to log messages

listenPort - the port to listen to

networkInterface - the network interface to bind to

advertisedPort - the port to advertise in HELLO messages to peers

identityKeyPair - the identity of this client

subProtocols - subprotocols supported

clientId - the client identifier, such as "RLPX 1.2/build 389"

repository - a wire connection repository