com.google.bitcoin.core
Class GetAddrMessage

java.lang.Object
  extended by com.google.bitcoin.core.Message
      extended by com.google.bitcoin.core.EmptyMessage
          extended by com.google.bitcoin.core.GetAddrMessage
All Implemented Interfaces:
Serializable

public class GetAddrMessage
extends EmptyMessage

Represents the "getaddr" P2P protocol message, which requests network AddressMessages from a peer. Not to be confused with Address which is sort of like an account number.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.bitcoin.core.Message
Message.LazyParseException
 
Field Summary
 
Fields inherited from class com.google.bitcoin.core.Message
bytes, checksum, cursor, length, MAX_SIZE, offset, params, parsed, parseLazy, parseRetain, protocolVersion, recached, UNKNOWN_LENGTH
 
Constructor Summary
GetAddrMessage(NetworkParameters params)
           
 
Method Summary
 
Methods inherited from class com.google.bitcoin.core.EmptyMessage
bitcoinSerialize, bitcoinSerializeToStream, ensureParsed, getMessageSize, parseLite
 
Methods inherited from class com.google.bitcoin.core.Message
adjustLength, bitcoinSerialize, getHash, getParams, isCached, isParsed, isRecached, maybeParse, unCache, unsafeBitcoinSerialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetAddrMessage

public GetAddrMessage(NetworkParameters params)


Copyright © 2014. All rights reserved.