|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozecommon.communication.NetworkAddress
public final class NetworkAddress
Network address.
Constructor Summary | |
---|---|
NetworkAddress()
Constructor. |
|
NetworkAddress(NetworkAddress originalAddress)
Copy constructor. |
Method Summary | |
---|---|
String |
getAddress()
Returns the address. |
int |
getPort()
Returns the port. |
void |
setAddress(String address)
Sets the address. |
void |
setPort(int port)
Sets the port. |
String |
toString()
Converts to string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NetworkAddress()
public NetworkAddress(NetworkAddress originalAddress)
originalAddress
- The original addressMethod Detail |
---|
public String getAddress()
public int getPort()
public void setPort(int port)
port
- The portpublic void setAddress(String address)
address
- The addresspublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |