Uses of Class
me.edwards.des.net.Connection

Packages that use Connection
me.edwards.des   
me.edwards.des.net.packet   
 

Uses of Connection in me.edwards.des
 

Fields in me.edwards.des with type parameters of type Connection
protected  java.util.ArrayList<Connection> Node.peers
          List of connections containing all of this Node's current peers.
 

Methods in me.edwards.des that return Connection
 Connection Node.connect(java.net.InetAddress address, int port)
          Connects this Node to a peer Node via the specified IP Address and port.
 Connection Node.getConnection(java.lang.String hostname)
          Returns the connection with the specified name from the current list of peers of this Node.
 

Methods in me.edwards.des that return types with arguments of type Connection
 java.util.ArrayList<Connection> Node.getPeers()
          Returns a list of this Node's known peers.
 

Packet TypeProcess CategoryDescription of ProcessPing 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.
Methods in me.edwards.des with parameters of type Connection
 void Node.parse(byte[] data, Connection connection)
          Parses a packet received by a connection to this Node into a Packet Type and processes the received data in the packet.

 void Node.removeConnection(Connection c)
          Disconnects the specified peer and removes its connection from the list of this Node's peers.
 

Uses of Connection in me.edwards.des.net.packet
 

Constructor parameters in me.edwards.des.net.packet with type arguments of type Connection
PacketAddr(java.util.ArrayList<Connection> peers)
          Creates new PacketAddr