public class AddressMessage extends Message
Message.LazyParseException
checksum, cursor, length, MAX_SIZE, offset, params, parsed, parseLazy, parseRetain, payload, protocolVersion, recached, UNKNOWN_LENGTH
Modifier and Type | Method and Description |
---|---|
void |
addAddress(PeerAddress address) |
List<PeerAddress> |
getAddresses() |
int |
getMessageSize()
This should be overridden to extract correct message size in the case of lazy parsing.
|
protected void |
parseLite()
Perform the most minimal parse possible to calculate the length of the message payload.
|
void |
removeAddress(int index) |
String |
toString() |
adjustLength, bitcoinSerialize, bitcoinSerialize, ensureParsed, getHash, getParams, isCached, isParsed, isRecached, maybeParse, unCache, unsafeBitcoinSerialize
protected void parseLite() throws ProtocolException
Message
parseLite
in class Message
ProtocolException
public int getMessageSize()
Message
getMessageSize
in class Message
public List<PeerAddress> getAddresses()
public void addAddress(PeerAddress address)
public void removeAddress(int index)
Copyright © 2014. All rights reserved.