|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.ops.ServerLocation
The ServerLocation class provides a placeholder to contain the port and host location of a remote server.
Field Summary | |
String |
host
String data type containing the hostname where the server is running. |
int |
port
integer data type containing the port where the server is running. |
Constructor Summary | |
ServerLocation()
Constructs a ServerLocation object. |
|
ServerLocation(int port,
String host)
Constructs a ServerLocation object using the input port and host information. |
Method Summary | |
String |
host()
Returns the String containing the server hostname. |
int |
port()
Returns the integer containing the server port. |
String |
toString()
Generates a String representation of the object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public int port
public String host
Constructor Detail |
public ServerLocation()
public ServerLocation(int port, String host)
port
- the server port numberhost
- the server hostnameMethod Detail |
public int port()
public String host()
public String toString()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |