Class EmptyMessage

java.lang.Object
org.bitcoinj.core.BaseMessage
org.bitcoinj.core.EmptyMessage
All Implemented Interfaces:
Message
Direct Known Subclasses:
GetAddrMessage, MemoryPoolMessage, SendAddrV2Message, SendHeadersMessage, UnknownMessage, VersionAck

public abstract class EmptyMessage extends BaseMessage

Parent class for header only messages that don't have a payload. Currently this includes getaddr, verack and special bitcoinj class UnknownMessage.

Instances of this class are not safe for use by multiple threads.

  • Constructor Details

    • EmptyMessage

      public EmptyMessage()
  • Method Details