abstract fun broadcast(subProtocolIdentifier: SubProtocolIdentifier!, messageType: Int, message: Bytes!): Unit
(source)
Sends a wire message to all connected peers.
subProtocolIdentifier
- SubProtocolIdentifier!: the identifier of the subprotocol this message is part ofs
messageType
- Int: the type of the message according to the subprotocol