VertxRLPxService(vertx: Vertx, loggerProvider: LoggerProvider, listenPort: Int, networkInterface: String, advertisedPort: Int, identityKeyPair: KeyPair, subProtocols: MutableList<SubProtocol>, clientId: String)
Default constructor.
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.
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"