tuweni / org.apache.tuweni.plumtree / MessageSender

MessageSender

interface MessageSender (source)

Interface to sending messages to other peers.

Types

Verb

Types of verbs supported by the dialect

class Verb

Functions

sendMessage

Sends bytes to a peer.

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