|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LocalSocketAddressProvider
Defines the interface for a class to return the local IP address, the local port and whether the local address is considered private.
| Method Summary | |
|---|---|
byte[] |
getLocalAddress()
Retrieves the current local address. |
int |
getLocalPort()
Retrieves the current local port. |
boolean |
isLocalAddressPrivate()
Determines whether this provider considers local address (that is, 127.0.0.1, 192.168.*.*, etc...) private addresses |
boolean |
isTLSCapable()
Determines if the socket listening on the local addr/port is capable of accepting TLS connections. |
| Method Detail |
|---|
byte[] getLocalAddress()
int getLocalPort()
boolean isLocalAddressPrivate()
boolean isTLSCapable()
|
LimeWire Consolidated API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||