|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.io.gass.server.RemoteGassServer
This class allows for starting gass server remotely. The gass server is started via the globus gatekeeper.
| Field Summary | |
static int |
LINE_BUFFER_ENABLE
|
static int |
TILDE_EXPAND_ENABLE
|
static int |
USER_EXPAND_ENABLE
|
| Constructor Summary | |
RemoteGassServer()
Starts Gass Server with default user credentials. |
|
RemoteGassServer(boolean secure,
int port)
Starts Gass Server on given port and mode. |
|
RemoteGassServer(GSSCredential cred,
boolean secure,
int port)
Starts Gass Server on given port and mode. |
|
| Method Summary | |
int |
getOptions()
Returns current options of the server. |
String |
getURL()
Returns url of this server. |
static void |
main(String[] args)
|
void |
setCompatibilityMode(boolean compatibility)
Sets the compatibility mode to work with the old globus 1.1.x installations. |
void |
setOptions(int options)
Sets the options of the gass server such as enabling client shutdown, etc. |
boolean |
shutdown()
Shutdowns remotely running gass server. |
void |
start(String rmc)
Starts the gass server on the remote machine. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int LINE_BUFFER_ENABLE
public static final int TILDE_EXPAND_ENABLE
public static final int USER_EXPAND_ENABLE
| Constructor Detail |
public RemoteGassServer()
public RemoteGassServer(boolean secure,
int port)
secure - if true starts server in secure mode, otherwise unsecure.port - port of the server, if 0 it will be dynamically assigned.
public RemoteGassServer(GSSCredential cred,
boolean secure,
int port)
cred - credentials to use to start the server.secure - if true starts server in secure mode, otherwise unsecure.port - port of the server, if 0 it will be dynamically assigned.| Method Detail |
public String getURL()
public void setOptions(int options)
options - server optionspublic int getOptions()
public void setCompatibilityMode(boolean compatibility)
compatibility - set to true if working with
the old globus 1.1.x installation.
public void start(String rmc)
throws GassException
rmc - resource manager contact of the remote machine.
GassException - if any error occurs during
remote startup.public boolean shutdown()
public static void main(String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||