public abstract class ChildMessage extends Message
Message.LazyParseException
Modifier and Type | Field and Description |
---|---|
protected Message |
parent |
checksum, cursor, length, MAX_SIZE, offset, params, parsed, parseLazy, parseRetain, payload, protocolVersion, recached, UNKNOWN_LENGTH
Modifier | Constructor and Description |
---|---|
protected |
ChildMessage() |
|
ChildMessage(NetworkParameters params) |
|
ChildMessage(NetworkParameters params,
byte[] payload,
int offset) |
|
ChildMessage(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion) |
|
ChildMessage(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion,
Message parent,
boolean parseLazy,
boolean parseRetain,
int length) |
|
ChildMessage(NetworkParameters params,
byte[] payload,
int offset,
Message parent,
boolean parseLazy,
boolean parseRetain,
int length) |
Modifier and Type | Method and Description |
---|---|
protected void |
adjustLength(int adjustment) |
protected void |
adjustLength(int newArraySize,
int adjustment) |
void |
setParent(Message parent) |
protected void |
unCache()
To be called before any change of internal values including any setters.
|
bitcoinSerialize, bitcoinSerialize, ensureParsed, getHash, getMessageSize, getParams, isCached, isParsed, isRecached, maybeParse, parseLite, unsafeBitcoinSerialize
protected ChildMessage()
public ChildMessage(NetworkParameters params)
public ChildMessage(NetworkParameters params, byte[] payload, int offset, int protocolVersion) throws ProtocolException
ProtocolException
public ChildMessage(NetworkParameters params, byte[] payload, int offset, int protocolVersion, Message parent, boolean parseLazy, boolean parseRetain, int length) throws ProtocolException
ProtocolException
public ChildMessage(NetworkParameters params, byte[] payload, int offset) throws ProtocolException
ProtocolException
public ChildMessage(NetworkParameters params, byte[] payload, int offset, @Nullable Message parent, boolean parseLazy, boolean parseRetain, int length) throws ProtocolException
ProtocolException
protected void unCache()
Message
protected void adjustLength(int adjustment)
protected void adjustLength(int newArraySize, int adjustment)
adjustLength
in class Message
Copyright © 2014. All rights reserved.