Interface Message
public interface Message
A P2P network message received from another peer for plugin use.
-
Method Summary
Modifier and TypeMethodDescriptionPeerConnectionthis message was sent from.org.hyperledger.besu.datatypes.p2p.MessageDatagetData()Returns theMessageDatacontained in the message.
-
Method Details
-
getData
org.hyperledger.besu.datatypes.p2p.MessageData getData()Returns theMessageDatacontained in the message.- Returns:
- Data in the message
-
getConnection
PeerConnection getConnection()PeerConnectionthis message was sent from.- Returns:
- PeerConnection this message was sent from.
-