net.i2p.router.transport.udp
Class UDPAddress
java.lang.Object
net.i2p.router.transport.udp.UDPAddress
public class UDPAddress
- extends Object
basic helper to parse out peer info from a udp address
PROP_PORT
public static final String PROP_PORT
- See Also:
- Constant Field Values
PROP_HOST
public static final String PROP_HOST
- See Also:
- Constant Field Values
PROP_INTRO_KEY
public static final String PROP_INTRO_KEY
- See Also:
- Constant Field Values
PROP_CAPACITY
public static final 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 String PROP_INTRO_HOST_PREFIX
- See Also:
- Constant Field Values
PROP_INTRO_PORT_PREFIX
public static final String PROP_INTRO_PORT_PREFIX
- See Also:
- Constant Field Values
PROP_INTRO_KEY_PREFIX
public static final String PROP_INTRO_KEY_PREFIX
- See Also:
- Constant Field Values
PROP_INTRO_TAG_PREFIX
public static final 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 String toString()
- Overrides:
toString
in class Object
getHost
public String getHost()
getHostAddress
public InetAddress getHostAddress()
getPort
public int getPort()
getIntroKey
public byte[] getIntroKey()
getIntroducerCount
public int getIntroducerCount()
getIntroducerHost
public InetAddress getIntroducerHost(int i)
getIntroducerPort
public int getIntroducerPort(int i)
getIntroducerKey
public byte[] getIntroducerKey(int i)
getIntroducerTag
public long getIntroducerTag(int i)