|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetworkHost
Abstract interface that represents a computer on a network.
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the network host. |
java.lang.String |
getPassword()
Returns the password for the network host. |
int |
getPort()
Returns the network port for the network host. |
java.lang.String |
getPortAsString()
Returns the network port for the network host. |
java.lang.String |
getUsername()
Returns the username for the network host. |
void |
setName(java.lang.String name)
Sets the name of the network host. |
void |
setPassword(java.lang.String password)
Sets the password for the network host. |
void |
setPort(int port)
Sets the network port for the network host. |
void |
setPortAsString(java.lang.String port)
Sets the network port for the network host. |
void |
setUsername(java.lang.String username)
Sets the username for the network host. |
Method Detail |
---|
java.lang.String getName()
java.lang.String getPassword()
int getPort()
getPortAsString()
java.lang.String getPortAsString()
getPort()
java.lang.String getUsername()
void setName(java.lang.String name)
name
- The name of the network host.void setPassword(java.lang.String password)
password
- The password for the network host.void setPort(int port)
port
- The network port for the network host.setPortAsString(java.lang.String)
void setPortAsString(java.lang.String port)
port
- The network port for the network host.setPort(int)
void setUsername(java.lang.String username)
username
- The username for the network host.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |