rlpx / org.apache.tuweni.rlpx / RLPxService / broadcast

broadcast

abstract fun broadcast(subProtocolIdentifier: SubProtocolIdentifier!, messageType: Int, message: Bytes!): Unit (source)

Sends a wire message to all connected peers.

Parameters

subProtocolIdentifier - SubProtocolIdentifier!: the identifier of the subprotocol this message is part ofs

messageType - Int: the type of the message according to the subprotocol

message - Bytes!: the message to broadcast.