com.limegroup.gnutella.messages
Class QueryReply.PushProxyContainer
java.lang.Object
com.limegroup.gnutella.messages.QueryReply.PushProxyContainer
- All Implemented Interfaces:
- PushProxyInterface
- Enclosing class:
- QueryReply
- public static class QueryReply.PushProxyContainer
- extends java.lang.Object
- implements PushProxyInterface
A simple utility class for doling out PushProxy information.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
QueryReply.PushProxyContainer
public QueryReply.PushProxyContainer(java.lang.String hostAddress,
int port)
throws java.net.UnknownHostException
QueryReply.PushProxyContainer
public QueryReply.PushProxyContainer(byte[] fromNetwork)
throws BadPacketException
getPushProxyPort
public int getPushProxyPort()
- Specified by:
getPushProxyPort
in interface PushProxyInterface
- Returns:
- a non-negative integer representing the proxy's port for UDP
communication.
getPushProxyAddress
public java.net.InetAddress getPushProxyAddress()
- Specified by:
getPushProxyAddress
in interface PushProxyInterface
- Returns:
- the InetAddress of the PushProxyHost host
equals
public boolean equals(java.lang.Object other)
hashCode
public int hashCode()