A B C D E G H I K L M N P Q R S T V

P

Packet - Class in me.edwards.des.net.packet
Handles packaging and unpackaging of Packets sent between Nodes in the DES system.

Created on: Oct 17, 2015 at 9:08:41 AM
Packet(byte) - Constructor for class me.edwards.des.net.packet.Packet
Initializes a new Packet using an ID defined in Packet.PacketTypes.
Packet.PacketTypes - Enum in me.edwards.des.net.packet
Enumerates all the types of Packets and their ID's.

Created on: Jan 4, 2015 at 10:50:45 AM
Packet.PacketTypes() - Constructor for enum me.edwards.des.net.packet.Packet.PacketTypes
 
PacketAddr - Class in me.edwards.des.net.packet
Address Packet

This packet is sent as a response to a PacketGetAddr with a list of the responding node's known peers.
PacketAddr(ArrayList<Connection>) - Constructor for class me.edwards.des.net.packet.PacketAddr
Creates new PacketAddr
PacketAddr(byte[]) - Constructor for class me.edwards.des.net.packet.PacketAddr
Creates new PacketAddr from binary data
PacketBallot - Class in me.edwards.des.net.packet
Ballot Packet

This packet is used to transfer Ballot data between Nodes.

Created on: Nov 3, 2015 at 10:28:29 AM
PacketBallot(Ballot) - Constructor for class me.edwards.des.net.packet.PacketBallot
Creates new PacketBallot
PacketBallot(byte[]) - Constructor for class me.edwards.des.net.packet.PacketBallot
Creates new PacketBallot from binary data
PacketBlock - Class in me.edwards.des.net.packet
Block Packet

This packet is used to transfer Block data between Nodes.

Created on: Nov 3, 2015 at 10:28:29 AM
PacketBlock(Block) - Constructor for class me.edwards.des.net.packet.PacketBlock
Creates new PacketBlock
PacketBlock(byte[]) - Constructor for class me.edwards.des.net.packet.PacketBlock
Creates new PacketBlock from binary data
PacketGetAddr - Class in me.edwards.des.net.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
PacketGetAddr() - Constructor for class me.edwards.des.net.packet.PacketGetAddr
Creates new PacketGetAddr
PacketGetBlocks - Class in me.edwards.des.net.packet
Get Blocks Packet

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

Created on: Oct 17, 2015 at 9:12:01 AM
PacketGetBlocks(String) - Constructor for class me.edwards.des.net.packet.PacketGetBlocks
Creates new PacketGetBlocks
PacketGetBlocks(byte[]) - Constructor for class me.edwards.des.net.packet.PacketGetBlocks
Creates new PacketGetBlocks from binary data
PacketGetData - Class in me.edwards.des.net.packet
Get Data Packet

This packet is sent to request a particular piece, or pieces, of data.

Created on: Nov 3, 2015 at 10:06:19 AM
PacketGetData() - Constructor for class me.edwards.des.net.packet.PacketGetData
Creates new PacketGetData
PacketGetData(byte[]) - Constructor for class me.edwards.des.net.packet.PacketGetData
Creates new PacketGetData from binary data
PacketInv - Class in me.edwards.des.net.packet
Inventory Packet

This packet is sent to advertise knowledge of a particular piece, or pieces, of data.

Created on: Nov 3, 2015 at 9:17:44 AM
PacketInv() - Constructor for class me.edwards.des.net.packet.PacketInv
Creates new PacketInv
PacketInv(byte[]) - Constructor for class me.edwards.des.net.packet.PacketInv
Creates new PacketInv from binary data
PacketInv.InvVector - Class in me.edwards.des.net.packet
Inventory Vector contains the hash of the inventory object and its type.
PacketInv.InvVector() - Constructor for class me.edwards.des.net.packet.PacketInv.InvVector
 
PacketNotFound - Class in me.edwards.des.net.packet
Not Found Packet

This packet is sent to signal that a specified resource in a PacketGetData could not be found.

Created on: Nov 3, 2015 at 10:19:25 AM
PacketNotFound(int, String) - Constructor for class me.edwards.des.net.packet.PacketNotFound
Creates new PacketNotFound
PacketNotFound(byte[]) - Constructor for class me.edwards.des.net.packet.PacketNotFound
Creates new PacketNotFound from binary data
PacketPing - Class in me.edwards.des.net.packet
Ping Packet

This packet is sent to request a response from its destination Node.

Created on: Oct 17, 2015 at 9:12:01 AM
PacketPing(long) - Constructor for class me.edwards.des.net.packet.PacketPing
Creates new PacketPing
PacketPing(byte[]) - Constructor for class me.edwards.des.net.packet.PacketPing
Creates new PacketPing from binary data
PacketPong - Class in me.edwards.des.net.packet
Pong Packet

This packet is sent as a response to a PacketPing.

Created on: Oct 17, 2015 at 9:12:01 AM
PacketPong(long) - Constructor for class me.edwards.des.net.packet.PacketPong
Creates new PacketPong
PacketPong(byte[]) - Constructor for class me.edwards.des.net.packet.PacketPong
Creates new PacketPong from binary data
PacketVerack - Class in me.edwards.des.net.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
PacketVerack() - Constructor for class me.edwards.des.net.packet.PacketVerack
Creates new PacketVerack
PacketVersion - Class in me.edwards.des.net.packet
Version Packet

This is used in the handshake protocol for the DES system and contains version, block count, and time.

Created on: Oct 17, 2015 at 9:12:01 AM
PacketVersion(Version, int) - Constructor for class me.edwards.des.net.packet.PacketVersion
Creates new PacketVersion
PacketVersion(byte[]) - Constructor for class me.edwards.des.net.packet.PacketVersion
Creates new PacketVersion from binary data
parent - Variable in class me.edwards.des.block.BlockChain.Node
 
parse(byte[], Connection) - Method in class me.edwards.des.Node
Parses a packet received by a connection to this Node into a Packet Type and processes the received data in the packet.

Packet Type Process Category Description of Process Ping Connection Status Sends a Pong response to the Ping sender, incrementing the payload by one. Pong Connection Status Notifies the corresponding connection that a response has been received from the peer Node. Version Handshake Validates the version of the sender Node and sends a VerAck.
peerList - Variable in class me.edwards.des.net.packet.PacketAddr
 
peerList - Variable in class me.edwards.des.Node
List of initial peers to be contacted during the bootstrapping process.
peers - Variable in class me.edwards.des.Node
List of connections containing all of this Node's current peers.
ping - Variable in class me.edwards.des.net.Connection
 
ping - Variable in class me.edwards.des.net.packet.PacketPing
 
ping - Variable in class me.edwards.des.net.packet.PacketPong
 
PING_TIMEOUT - Static variable in class me.edwards.des.net.Connection
 
pingSent - Variable in class me.edwards.des.net.Connection
 
pingValue - Variable in class me.edwards.des.net.Connection
 
pong(long) - Method in class me.edwards.des.net.Connection
Notifies the connection that the Pong was received.
port - Variable in class me.edwards.des.net.Connection
 
port - Variable in class me.edwards.des.net.packet.PacketVersion
 
port - Variable in class me.edwards.des.Node
This Node's current listening socket port.
prevBlockHash - Variable in class me.edwards.des.block.Block
 
primes - Static variable in class me.edwards.des.util.Version
 

A B C D E G H I K L M N P Q R S T V