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

<init>

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

Default constructor.

Parameters

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

listenPort - Int: the port to listen to

networkInterface - String!: the network interface to bind to

advertisedPort - Int: the port to advertise in HELLO messages to peers

identityKeyPair - KeyPair!: the identity of this client

subProtocols - MutableList<SubProtocol!>!: subprotocols supported

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

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

Default constructor.

Parameters

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

listenPort - Int: the port to listen to

networkInterface - String!: the network interface to bind to

advertisedPort - Int: the port to advertise in HELLO messages to peers

identityKeyPair - KeyPair!: the identity of this client

subProtocols - MutableList<SubProtocol!>!: subprotocols supported

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

repository - WireConnectionRepository!: a wire connection repository