|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gnu.inet.ftp.PassiveParameters
This class encapsulates the parameters of a passive data connection.
| Constructor Summary | |
PassiveParameters(java.lang.String address,
int port)
create a new instance of PassiveParameters |
|
| Method Summary | |
boolean |
equals(PassiveParameters other)
compare another PassiveParameters instance to this one. |
java.net.InetAddress |
getInetAddress()
get the IP address |
int |
getPort()
get the port value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PassiveParameters(java.lang.String address,
int port)
throws java.net.UnknownHostException
address - IP addressport - TCP/IP port value| Method Detail |
public int getPort()
public java.net.InetAddress getInetAddress()
public boolean equals(PassiveParameters other)
other - the other instance to compare this one with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||