tuweni / org.apache.tuweni.plumtree / MessageSender

MessageSender

interface MessageSender (source)

Interface to sending messages to other peers.

Types

Verb

class Verb

Types of verbs supported by the dialect

Functions

sendMessage

abstract fun sendMessage(verb: Verb, attributes: String, peer: Peer, hash: Bytes, payload: Bytes?): Unit

Sends bytes to a peer.