|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Attribute controller for socket managers that only manage one opened socket.
Method Summary | |
String |
getDestinationHostname()
Returns the destination hostname. |
int |
getDestinationPort()
Returns the destination port. |
void |
setDestinationHostname(String hostname)
Sets the destinationHostname attribute value. |
void |
setDestinationPort(int port)
Sets the destinationPort attribute value. |
Method Detail |
public String getDestinationHostname()
destinationHostname
attribute value.public void setDestinationHostname(String hostname) throws UnknownHostException
destinationHostname
attribute value.
hostname
- the new destinationHostname
attribute value.
UnknownHostException
- if the given hostname can't be resolved.getDestinationHostname()
public int getDestinationPort()
destinationPort
attribute value.public void setDestinationPort(int port)
destinationPort
attribute value.
port
- the new destinationPort
attribute value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |