class VertxRLPxService : RLPxService
(source)
Implementation of RLPx service using Vert.x.
<init> |
Default constructor. VertxRLPxService(vertx: Vertx!, listenPort: Int, networkInterface: String!, advertisedPort: Int, identityKeyPair: KeyPair!, subProtocols: MutableList<SubProtocol!>!, clientId: String!) VertxRLPxService(vertx: Vertx!, listenPort: Int, networkInterface: String!, advertisedPort: Int, identityKeyPair: KeyPair!, subProtocols: MutableList<SubProtocol!>!, clientId: String!, repository: WireConnectionRepository!) |
actualPort |
fun actualPort(): Int |
actualSocketAddress |
fun actualSocketAddress(): InetSocketAddress! |
addToKeepAliveList |
fun addToKeepAliveList(peerPublicKey: PublicKey!): Boolean |
advertisedPort |
fun advertisedPort(): Int |
connectTo |
fun connectTo(peerPublicKey: PublicKey!, peerAddress: InetSocketAddress!): AsyncResult<WireConnection!>! |
disconnect |
fun disconnect(connection: WireConnection!, disconnectReason: DisconnectReason!): Unit |
getClient |
fun getClient(subProtocolIdentifier: SubProtocolIdentifier!): SubProtocolClient! |
repository |
fun repository(): WireConnectionRepository! |
send |
fun send(subProtocolIdentifier: SubProtocolIdentifier!, messageType: Int, connection: WireConnection!, message: Bytes!): Unit |
start |
fun start(): AsyncCompletion! |
stop |
fun stop(): AsyncCompletion! |