|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A TCP/IP-port address. More...

Public Member Functions | |
| TCPAddress (String iAddress, int iPort) | |
| Constructor. | |
| boolean | equals (Object o) |
| String | toString () |
| TCPAddress | newAddress (int iPort) |
| String | getAddress () |
| int | getPort () |
Private Attributes | |
| String | _address |
| The IP address. | |
| int | _port |
| The port number. | |
Static Private Attributes | |
| static final long | serialVersionUID = 7567208652764791606L |
| Used for serialization. | |
A TCP/IP-port address.
| frodo2.communication.tcp.TCPAddress.TCPAddress | ( | String | iAddress, |
| int | iPort ) |
Constructor.
| iAddress | IP address |
| iPort | port number |
References _address, and _port.
Referenced by equals(), and newAddress().
| boolean frodo2.communication.tcp.TCPAddress.equals | ( | Object | o | ) |
References _address, _port, and TCPAddress().

| String frodo2.communication.tcp.TCPAddress.getAddress | ( | ) |
References _address.
Referenced by frodo2.communication.tcp.TCPPipeFactory.outputPipe(), and frodo2.communication.tcp.TCPPipeFactory.outputPipe().
| int frodo2.communication.tcp.TCPAddress.getPort | ( | ) |
References _port.
Referenced by frodo2.communication.tcp.TCPPipeFactory.inputPipe(), frodo2.communication.tcp.TCPPipeFactory.inputPipe(), frodo2.communication.tcp.TCPPipeFactory.outputPipe(), and frodo2.communication.tcp.TCPPipeFactory.outputPipe().
| TCPAddress frodo2.communication.tcp.TCPAddress.newAddress | ( | int | iPort | ) |
Implements frodo2.communication.AgentAddress.
References _address, and TCPAddress().

| String frodo2.communication.tcp.TCPAddress.toString | ( | ) |
|
private |
The IP address.
Referenced by equals(), getAddress(), newAddress(), TCPAddress(), and toString().
|
private |
The port number.
Referenced by equals(), getPort(), TCPAddress(), and toString().
|
staticprivate |
Used for serialization.