|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.rdg.resc.jstyx.gridservice.client.SGSServerClient
public class SGSServerClient
A client of an SGS server. Use this class to find the SGSs that are available
on a server. To create an instance of this class, use the getServerClient()
static factory method.
| Method Summary | |
|---|---|
StyxConnection |
getConnection()
|
static SGSServerClient |
getServerClient(java.lang.String hostname,
int port)
Static factory method for creating an SGSServerClient. |
SGSClient |
getSGSClient(java.lang.String serviceName)
Gets an SGSClient object for a given Styx Grid Service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public StyxConnection getConnection()
public static SGSServerClient getServerClient(java.lang.String hostname,
int port)
throws StyxException,
java.net.UnknownHostException
hostname - The hostname or IP address of the SGS serverport - The port of the SGS server
StyxException - if there was an error connecting to the server.
java.net.UnknownHostException - if the host could not be found
public SGSClient getSGSClient(java.lang.String serviceName)
throws StyxException
serviceName - The name of the Styx Grid Service
StyxException - if there is no SGS with the given name on the server
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||