public class AddressMessage extends Message
Message.LazyParseExceptionchecksum, 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, unsafeBitcoinSerializeprotected void parseLite()
throws ProtocolException
MessageparseLite in class MessageProtocolExceptionpublic int getMessageSize()
MessagegetMessageSize in class Messagepublic List<PeerAddress> getAddresses()
public void addAddress(PeerAddress address)
public void removeAddress(int index)
Copyright © 2015. All rights reserved.