com.limegroup.gnutella.handshaking
Class UltrapeerHeaders

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.UltrapeerHeaders
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class UltrapeerHeaders
extends DefaultHeaders

Headers that should be sent only by Ultrapeers.

See Also:
Serialized Form

Field Summary
static java.lang.String PROBE_VERSION
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
UltrapeerHeaders(java.lang.String remoteIP)
          Creates a new UltrapeerHeaders 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
 

Field Detail

PROBE_VERSION

public static final java.lang.String PROBE_VERSION
See Also:
Constant Field Values
Constructor Detail

UltrapeerHeaders

public UltrapeerHeaders(java.lang.String remoteIP)
Creates a new UltrapeerHeaders 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