|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.AbstractPushEndpoint
com.limegroup.gnutella.SelfEndpoint
public class SelfEndpoint
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.limewire.io.IpPort |
|---|
IpPort.IpComparator, IpPort.IpPortComparator |
| Nested classes/interfaces inherited from interface org.limewire.io.Address |
|---|
Address.EventType |
| Field Summary |
|---|
| Fields inherited from interface com.limegroup.gnutella.PushEndpoint |
|---|
FEATURES_MASK, FWT_VERSION_MASK, HEADER_SIZE, MAX_PROXIES, PLAIN, PPTLS_BINARY, PPTLS_HTTP, PROXY_SIZE, SIZE_MASK |
| Fields inherited from interface org.limewire.io.IpPort |
|---|
COMPARATOR, EMPTY_LIST, EMPTY_SET, IP_COMPARATOR |
| Method Summary | |
|---|---|
PushEndpoint |
createClone()
Can return null if no valid push endpoint can be cloned. |
String |
getAddress()
Our address is our external address if it is valid and external. |
String |
getAddressDescription()
|
byte[] |
getClientGUID()
Returns the GUID of the client that can be reached through the pushproxies. |
byte |
getFeatures()
we always have the same features |
int |
getFWTVersion()
we support the same FWT version if we support FWT at all |
InetAddress |
getInetAddress()
Assessor for the InetAddress for this host. |
InetSocketAddress |
getInetSocketAddress()
Accessor for the InetSocketAddress that can describe the IP & Port. |
int |
getPort()
Our port is our external port |
Set<? extends IpPort> |
getProxies()
delegate the call to connection manager |
IpPort |
getValidExternalAddress()
Returns an IpPort representing the valid external address of
this push endpoint if it is known, otherwise null. |
boolean |
isLocal()
|
void |
updateProxies(boolean good)
Updates either the PushEndpoint or the GUID_PROXY_MAP to ensure that GUID_PROXY_MAP has a reference to all live PE GUIDs and all live PE's reference the same GUID object as in GUID_PROXY_MAP. |
| Methods inherited from class com.limegroup.gnutella.AbstractPushEndpoint |
|---|
equals, getSizeBytes, hashCode, httpStringValue, toBytes, toBytes, toBytes, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Set<? extends IpPort> getProxies()
public byte getFeatures()
public int getFWTVersion()
public String getAddress()
RemoteFileDesc.BOGUS_IPpublic InetAddress getInetAddress()
IpPort
public int getPort()
public IpPort getValidExternalAddress()
PushEndpointIpPort representing the valid external address of
this push endpoint if it is known, otherwise null.
public boolean isLocal()
public PushEndpoint createClone()
PushEndpoint
public byte[] getClientGUID()
PushEndpoint
public void updateProxies(boolean good)
PushEndpoint
public InetSocketAddress getInetSocketAddress()
IpPort
public String getAddressDescription()
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||