HobbitsTransport(vertx: Vertx, incompleteMessageHandler: (Bytes) -> Unit = {}, coroutineContext: CoroutineContext = Dispatchers.Default)
Hobbits is a peer-to-peer transport stack specified at https://www.github.com/deltap2p/hobbits.
This class works as a transport mechanism that can leverage a variety of network transport protocols, such as TCP, HTTP, UDP and Web sockets.
It can be used to contact other Hobbits endpoints, or to expose endpoints to the network.
incompleteMessageHandler
- a handler to manage incomplete or invalid messages