tuweni / org.apache.tuweni.rlpx / RLPxService / send

send

abstract fun send(subProtocolIdentifier: SubProtocolIdentifier, messageType: Int, connectionId: String, message: Bytes): Unit (source)

Sends a wire message to a peer.

Parameters

subProtocolIdentifier - the identifier of the subprotocol this message is part of

messageType - the type of the message according to the subprotocol

connectionId - the identifier of the connection.

message - the message, addressed to a connection.