|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Acceptor
| Method Summary | |
|---|---|
boolean |
acceptedIncoming()
Determines whether or not LimeWire has detected it is firewalled or not. |
void |
bindAndStartUpnp()
tries to bind the serversocket and create UPnPMappings. |
byte[] |
getAddress(boolean preferForcedAddress)
Returns this' address to use for ping replies, query replies, and pushes. |
byte[] |
getExternalAddress()
Returns this' external address. |
long |
getIncomingExpireTime()
|
int |
getPort(boolean checkForcedPort)
Returns the port at which the Connection Manager listens for incoming connections |
long |
getTimeBetweenValidates()
|
long |
getWaitTimeAfterRequests()
|
boolean |
isAddressExternal()
Returns whether or not our advertised IP address is the same as what remote peers believe it is. |
void |
resetLastConnectBackTime()
|
void |
setAddress(InetAddress address)
|
void |
setExternalAddress(InetAddress address)
Sets the external address. |
void |
setListeningPort(int port)
|
void |
shutdown()
If we used UPnP Mappings this session, clean them up and revert any relevant settings. |
void |
start()
Launches the port monitoring thread, MulticastService, and UDPService. |
| Methods inherited from interface com.limegroup.gnutella.SocketProcessor |
|---|
processSocket, processSocket |
| Method Detail |
|---|
void setAddress(InetAddress address)
void setExternalAddress(InetAddress address)
void bindAndStartUpnp()
void start()
boolean isAddressExternal()
byte[] getExternalAddress()
byte[] getAddress(boolean preferForcedAddress)
preferForcedAddress - whether or not to prefer the forced address if the IP address is forced.
If false, the forced IP address will never be returned
If true, the forced IP address will only be returned if one is set.int getPort(boolean checkForcedPort)
checkForcedPort - if true returns the forced port if forcing an external
address and port is enabled
void setListeningPort(int port)
throws IOException
IOExceptionboolean acceptedIncoming()
void shutdown()
long getIncomingExpireTime()
long getTimeBetweenValidates()
long getWaitTimeAfterRequests()
void resetLastConnectBackTime()
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||