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
cursor, length, MAX_SIZE, offset, params, payload, recached, serializer, UNKNOWN_LENGTH
-
-
Constructor Summary
Constructors Constructor Description UnknownMessage(NetworkParameters params, java.lang.String name, byte[] payloadBytes)
-
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
bitcoinSerialize, bitcoinSerializeToStream, parse
-
Methods inherited from class org.bitcoinj.core.Message
adjustLength, bitcoinSerialize, getHash, getMessageSize, getParams, hasMoreBytes, isCached, isRecached, readByte, readByteArray, readBytes, readHash, readInt64, readStr, readUint32, readUint64, readVarInt, readVarInt, setSerializer, unCache, unsafeBitcoinSerialize
-
-
-
-
Constructor Detail
-
UnknownMessage
public UnknownMessage(NetworkParameters params, java.lang.String name, byte[] payloadBytes) throws ProtocolException
- Throws:
ProtocolException
-
-