tuweni / org.apache.tuweni.relayer / RelayerApp

RelayerApp

class RelayerApp (source)

Relayer application, allowing to set a relay between two hobbits endpoints.

The relayer runs as a Java application using the main method defined herein.

Parameters

vertx - the Vert.x instance

relayer - the relayer to run

Constructors

<init>

Relayer application, allowing to set a relay between two hobbits endpoints.

RelayerApp(vertx: Vertx, relayer: Relayer)

Properties

relayer

the relayer to run

val relayer: Relayer

vertx

the Vert.x instance

val vertx: Vertx

Functions

close

Stop the relayer.

fun close(): Unit

Companion Object Functions

main

Runs a relayer between two hobbits endpoints.

fun main(args: Array<String>): Unit