Interface Message


public interface Message
A P2P network message received from another peer for plugin use.
  • Method Summary

    Modifier and Type
    Method
    Description
    PeerConnection this message was sent from.
    org.hyperledger.besu.datatypes.p2p.MessageData
    Returns the MessageData contained in the message.
  • Method Details

    • getData

      org.hyperledger.besu.datatypes.p2p.MessageData getData()
      Returns the MessageData contained in the message.
      Returns:
      Data in the message
    • getConnection

      PeerConnection getConnection()
      PeerConnection this message was sent from.
      Returns:
      PeerConnection this message was sent from.