|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NetworkManager
| Method Summary | |
|---|---|
boolean |
acceptedIncomingConnection()
Returns true if this has accepted an incoming connection, and hence probably isn't firewalled. |
boolean |
addressChanged()
Notifies components that this' IP address has changed. |
boolean |
canDoFWT()
|
boolean |
canReceiveSolicited()
|
boolean |
canReceiveUnsolicited()
|
void |
externalAddressChanged()
used to notify the NetworkManager of a change in
the external IP. |
byte[] |
getAddress()
Returns the raw IP address for this host. |
byte[] |
getExternalAddress()
Returns the external IP address for this host. |
byte[] |
getNonForcedAddress()
Returns the Non-Forced IP address for this host. |
int |
getNonForcedPort()
Returns the Non-Forced port for this host. |
int |
getPort()
Returns the port used for downloads and messaging connections. |
Connectable |
getPublicAddress()
Returns the external, public address of this peer. |
GUID |
getSolicitedGUID()
|
int |
getStableUDPPort()
|
GUID |
getUDPConnectBackGUID()
|
boolean |
incomingStatusChanged()
Notification that we've either just set or unset acceptedIncoming. |
boolean |
isGUESSCapable()
Returns whether or not this node is capable of sending its own GUESS queries. |
boolean |
isIpPortValid()
|
boolean |
isOOBCapable()
Returns whether or not this node is capable of performing OOB queries. |
void |
newPushProxies(Set<Connectable> pushProxies)
used to notify the NetworkManager of a new
MediatorAddress (i.e., push proxy) |
void |
portChanged()
used to notify the NetworkManager of a change in
the port. |
void |
setListeningPort(int port)
Sets the port on which to listen for incoming connections. |
int |
supportsFWTVersion()
|
| Methods inherited from interface org.limewire.lifecycle.Service |
|---|
getServiceName, initialize, start, stop |
| Methods inherited from interface org.limewire.listener.ListenerSupport |
|---|
addListener, removeListener |
| Methods inherited from interface org.limewire.net.TLSManager |
|---|
isIncomingTLSEnabled, isOutgoingTLSEnabled, isTLSSupported, setIncomingTLSEnabled, setOutgoingTLSEnabled |
| Method Detail |
|---|
boolean isIpPortValid()
GUID getUDPConnectBackGUID()
boolean isOOBCapable()
boolean isGUESSCapable()
int getNonForcedPort()
int getPort()
Acceptor.getPort(boolean)byte[] getNonForcedAddress()
byte[] getAddress()
byte[] getExternalAddress()
boolean incomingStatusChanged()
boolean addressChanged()
void externalAddressChanged()
NetworkManager of a change in
the external IP.
void portChanged()
NetworkManager of a change in
the port.
void newPushProxies(Set<Connectable> pushProxies)
NetworkManager of a new
MediatorAddress (i.e., push proxy)
boolean acceptedIncomingConnection()
void setListeningPort(int port)
throws IOException
IOExceptionboolean canReceiveUnsolicited()
boolean canReceiveSolicited()
boolean canDoFWT()
int getStableUDPPort()
GUID getSolicitedGUID()
int supportsFWTVersion()
Connectable getPublicAddress()
invalid
address if no address is known yet.
Will return the external address whether the peer is firewalled or not.
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||