org.gridbus.broker.util
Class GassServerUtil

java.lang.Object
  extended byorg.gridbus.broker.util.GassServerUtil

public class GassServerUtil
extends java.lang.Object

This class has utility methods for working with GASS Servers.

Author:
Jia Yu (jiayu@cs.mu.oz.au)

Constructor Summary
GassServerUtil()
           
 
Method Summary
 org.ietf.jgss.GSSCredential getProxy()
          Returns the GSSCredential proxy
 java.lang.String getStderrLB()
          Returns the path for the std err on the GASS server.
 java.lang.String getStderrURL()
          Returns the URL for the std err on the GASS server.
 java.lang.String getStdoutLB()
          Returns the path for the std out on the GASS server.
 java.lang.String getStdoutURL()
          Returns the URL for the std out on the GASS server.
 java.lang.String getURL()
          Returns the GASS server URL
 void registerGassErrorStream(org.globus.io.gass.server.JobOutputStream outStream)
          Registers a GASS server error stream
 void registerGassOutputStream(org.globus.io.gass.server.JobOutputStream outStream)
          Registers a GASS server output stream
 void setProxy(org.ietf.jgss.GSSCredential credential)
          Sets the GSSCredential proxy
 void shutdown()
          Shuts down a GASS server
 void start()
          Registers and activates a GASS server
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GassServerUtil

public GassServerUtil()
Method Detail

start

public void start()
Registers and activates a GASS server


getURL

public java.lang.String getURL()
Returns the GASS server URL

Returns:
string

getStdoutURL

public java.lang.String getStdoutURL()
Returns the URL for the std out on the GASS server.

Returns:
string

getStderrURL

public java.lang.String getStderrURL()
Returns the URL for the std err on the GASS server.

Returns:
string

getStdoutLB

public java.lang.String getStdoutLB()
Returns the path for the std out on the GASS server.

Returns:
string

getStderrLB

public java.lang.String getStderrLB()
Returns the path for the std err on the GASS server.

Returns:
string

shutdown

public void shutdown()
Shuts down a GASS server


registerGassOutputStream

public void registerGassOutputStream(org.globus.io.gass.server.JobOutputStream outStream)
Registers a GASS server output stream

Parameters:
outStream -

registerGassErrorStream

public void registerGassErrorStream(org.globus.io.gass.server.JobOutputStream outStream)
Registers a GASS server error stream

Parameters:
outStream -

getProxy

public org.ietf.jgss.GSSCredential getProxy()
Returns the GSSCredential proxy

Returns:
proxy

setProxy

public void setProxy(org.ietf.jgss.GSSCredential credential)
Sets the GSSCredential proxy

Parameters:
credential -