hobbits
Module Contents
alltypes
Module Contents
class HobbitsTransport : CoroutineScope
Module Contents
HobbitsTransport(vertx: Vertx, coroutineContext: CoroutineContext = Dispatchers.Default)
val coroutineContext: CoroutineContext
fun createHTTPEndpoint(id: String = "default", networkInterface: String = "0.0.0.0", port: Int = 9337, requestURI: String? = null, tls: Boolean = false, handler: (Message) -> Unit): Unit
fun createTCPEndpoint(id: String = "default", networkInterface: String = "0.0.0.0", port: Int = 9237, tls: Boolean = false, handler: (Message) -> Unit): Unit
fun createUDPEndpoint(id: String = "default", networkInterface: String = "0.0.0.0", port: Int = 9137, handler: (Message) -> Unit): Unit
fun createWSEndpoint(id: String = "default", networkInterface: String = "0.0.0.0", port: Int = 9037, requestURI: String? = null, tls: Boolean = false, handler: (Message) -> Unit): Unit
fun exceptionHandler(handler: (Throwable) -> Unit): Unit
suspend fun sendMessage(message: Message, transport: Transport, host: String, port: Int, requestURI: String = ""): Unit
suspend fun start(): Unit
fun stop(): Unit
class Message
class Relayer : CoroutineScope
enum class Transport
package org.apache.tuweni.hobbits
Module Contents
class HobbitsTransport : CoroutineScope
Module Contents
HobbitsTransport(vertx: Vertx, coroutineContext: CoroutineContext = Dispatchers.Default)
val coroutineContext: CoroutineContext
fun createHTTPEndpoint(id: String = "default", networkInterface: String = "0.0.0.0", port: Int = 9337, requestURI: String? = null, tls: Boolean = false, handler: (Message) -> Unit): Unit
fun createTCPEndpoint(id: String = "default", networkInterface: String = "0.0.0.0", port: Int = 9237, tls: Boolean = false, handler: (Message) -> Unit): Unit
fun createUDPEndpoint(id: String = "default", networkInterface: String = "0.0.0.0", port: Int = 9137, handler: (Message) -> Unit): Unit
fun createWSEndpoint(id: String = "default", networkInterface: String = "0.0.0.0", port: Int = 9037, requestURI: String? = null, tls: Boolean = false, handler: (Message) -> Unit): Unit
fun exceptionHandler(handler: (Throwable) -> Unit): Unit
suspend fun sendMessage(message: Message, transport: Transport, host: String, port: Int, requestURI: String = ""): Unit
suspend fun start(): Unit
fun stop(): Unit
class Message
class Relayer : CoroutineScope
enum class Transport