net.i2p.router.transport.udp
Class UDPAddress
java.lang.Object
net.i2p.router.transport.udp.UDPAddress
public class UDPAddress
- extends java.lang.Object
basic helper to parse out peer info from a udp address
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PROP_PORT
public static final java.lang.String PROP_PORT
- See Also:
- Constant Field Values
PROP_HOST
public static final java.lang.String PROP_HOST
- See Also:
- Constant Field Values
PROP_INTRO_KEY
public static final java.lang.String PROP_INTRO_KEY
- See Also:
- Constant Field Values
PROP_CAPACITY
public static final java.lang.String PROP_CAPACITY
- See Also:
- Constant Field Values
CAPACITY_TESTING
public static final char CAPACITY_TESTING
- See Also:
- Constant Field Values
CAPACITY_INTRODUCER
public static final char CAPACITY_INTRODUCER
- See Also:
- Constant Field Values
PROP_INTRO_HOST_PREFIX
public static final java.lang.String PROP_INTRO_HOST_PREFIX
- See Also:
- Constant Field Values
PROP_INTRO_PORT_PREFIX
public static final java.lang.String PROP_INTRO_PORT_PREFIX
- See Also:
- Constant Field Values
PROP_INTRO_KEY_PREFIX
public static final java.lang.String PROP_INTRO_KEY_PREFIX
- See Also:
- Constant Field Values
PROP_INTRO_TAG_PREFIX
public static final java.lang.String PROP_INTRO_TAG_PREFIX
- See Also:
- Constant Field Values
MAX_INTRODUCERS
static final int MAX_INTRODUCERS
- See Also:
- Constant Field Values
UDPAddress
public UDPAddress(RouterAddress addr)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getHost
public java.lang.String getHost()
getHostAddress
public java.net.InetAddress getHostAddress()
getPort
public int getPort()
getIntroKey
public byte[] getIntroKey()
getIntroducerCount
public int getIntroducerCount()
getIntroducerHost
public java.net.InetAddress getIntroducerHost(int i)
getIntroducerPort
public int getIntroducerPort(int i)
getIntroducerKey
public byte[] getIntroducerKey(int i)
getIntroducerTag
public long getIntroducerTag(int i)