me.edwards.des.net.packet
Class PacketVerack

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

public class PacketVerack
extends Packet

Version Acknowledge Packet

This is used in the handshake protocol for the DES system and confirms that a handshake is complete.

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
PacketVerack()
          Creates new PacketVerack
 
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

PacketVerack

public PacketVerack()
Creates new PacketVerack

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