|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lightdev.app.trec.client.ServerAddress
public class ServerAddress
Address of a server in the context of the Light Development Transparent Remote Computing (TREC) platform.
Server,
Serialized Form| Constructor Summary | |
|---|---|
ServerAddress(String urlStr)
create a new instance of a ServerAddress object |
|
ServerAddress(String urlStr,
boolean encrypted)
create a new instance of a ServerAddress object |
|
ServerAddress(String urlStr,
boolean encrypted,
String proxyUrl,
int proxyPort)
create a new instance of a ServerAddress object |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
determine whether or not a given object is equal to this object |
boolean |
getEncrypted()
determine whether or not this address refers to a server which is expected to use SSL |
int |
getProxyPort()
get port number of proxy server to connect thorugh |
String |
getProxyUrl()
get url string of proxy server to connect through |
String |
getUrlString()
get the url string this server address refers to |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerAddress(String urlStr)
urlStr - the url string this address refers to
public ServerAddress(String urlStr,
boolean encrypted)
urlStr - the url string this address refers toencrypted - true, when the server uses SSL
public ServerAddress(String urlStr,
boolean encrypted,
String proxyUrl,
int proxyPort)
urlStr - the url string this address refers toencrypted - true when the server uses SSLproxyUrl - url of proxy to connect throughproxyPort - port of proxy to connect through| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectpublic String getUrlString()
public boolean getEncrypted()
public String getProxyUrl()
public int getProxyPort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||