me.edwards.des.net.packet
Class PacketGetAddr

java.lang.Object
  extended by me.edwards.des.net.packet.Packet
      extended by me.edwards.des.net.packet.PacketGetAddr

public class PacketGetAddr
extends Packet

Get Address Packet

This packet is sent to request address information from other Nodes during the bootstrap process.

Created on: Oct 17, 2015 at 9:12:01 AM

Author:
Matthew Edwards

Nested Class Summary
 
Nested classes/interfaces inherited from class me.edwards.des.net.packet.Packet
Packet.PacketTypes
 
Constructor Summary
PacketGetAddr()
          Creates new PacketGetAddr
 
Method Summary
 byte[] getBinary()
          Returns the binary payload of this Packet as a byte array.
 
Methods inherited from class me.edwards.des.net.packet.Packet
getID, lookup, toHex, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PacketGetAddr

public PacketGetAddr()
Creates new PacketGetAddr

Method Detail

getBinary

public byte[] getBinary()
Description copied from class: Packet
Returns the binary payload of this Packet as a byte array.

Specified by:
getBinary in class Packet
Returns:
Binary payload as a byte array