com.limegroup.gnutella.handshaking
Class LeafHeaders

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended bycom.limegroup.gnutella.handshaking.DefaultHeaders
                  extended bycom.limegroup.gnutella.handshaking.LeafHeaders
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class LeafHeaders
extends DefaultHeaders

Properties for connection handshake, if the node is a client

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
LeafHeaders(java.lang.String remoteIP)
          Creates a new LeafHeaders instance with the specified remote IP.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LeafHeaders

public LeafHeaders(java.lang.String remoteIP)
Creates a new LeafHeaders instance with the specified remote IP.

Parameters:
remoteIP - the IP address of this node as seen by other nodes on Gnutella -- useful in discovering the real address at the NAT or firewall