Package org.bitcoinj.core
Class UnknownMessage
- java.lang.Object
-
- org.bitcoinj.core.Message
-
- org.bitcoinj.core.EmptyMessage
-
- org.bitcoinj.core.UnknownMessage
-
public class UnknownMessage extends EmptyMessage
Instances of this class are not safe for use by multiple threads.
-
-
Field Summary
-
Fields inherited from class org.bitcoinj.core.Message
MAX_SIZE, params, payload, serializer
-
-
Constructor Summary
Constructors Constructor Description UnknownMessage(NetworkParameters params, java.lang.String name, java.nio.ByteBuffer payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.bitcoinj.core.EmptyMessage
bitcoinSerializeToStream, getMessageSize, parse
-
Methods inherited from class org.bitcoinj.core.Message
bitcoinSerialize, getHash, getParams, readByte, readByteArray, readBytes, readHash, readInt32, readInt64, readStr, readUint32, readUint64, readVarInt, skipBytes, unCache, unsafeBitcoinSerialize
-
-
-
-
Constructor Detail
-
UnknownMessage
public UnknownMessage(NetworkParameters params, java.lang.String name, java.nio.ByteBuffer payload) throws ProtocolException
- Throws:
ProtocolException
-
-