com.parabon.rapids
Class FrontierServer

java.lang.Object
  extended by com.parabon.rapids.FrontierServer

public class FrontierServer
extends java.lang.Object

FrontierServer class.


Nested Class Summary
static class FrontierServer.JobIdType
           
 
Constructor Summary
FrontierServer()
           
 
Method Summary
 void connect()
          Connect to the Frontier Server.
 void disconnect()
          Disconnect from the Frontier Server.
 JobStatus[] listJobs()
          List jobs on the Frontier Server.
static void log(java.lang.String message)
           
 void removeJob(java.lang.String jobId, FrontierServer.JobIdType type)
          Remove a job from the Frontier Server.
 java.net.URI upload(java.lang.String elementName)
          Upload a client-scope element to the Frontier Server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrontierServer

public FrontierServer()
Method Detail

connect

public void connect()
             throws java.io.IOException
Connect to the Frontier Server.

Throws:
java.io.IOException

removeJob

public void removeJob(java.lang.String jobId,
                      FrontierServer.JobIdType type)
               throws java.io.IOException
Remove a job from the Frontier Server.

Parameters:
jobId - the jobId of the job to remove
type - the type of jobId being supplied (either local Rapids jobId or Frontier Server jobId)
Throws:
java.io.IOException

listJobs

public JobStatus[] listJobs()
                     throws java.io.IOException
List jobs on the Frontier Server.

Throws:
java.io.IOException

upload

public java.net.URI upload(java.lang.String elementName)
                    throws com.parabon.rapids.TemplateFormatException,
                           java.io.IOException
Upload a client-scope element to the Frontier Server.

Parameters:
elementName - name of the element to upload
Returns:
the URI for the uploaded element
Throws:
com.parabon.rapids.TemplateFormatException
java.io.IOException

disconnect

public void disconnect()
Disconnect from the Frontier Server.


log

public static void log(java.lang.String message)


Copyright © 2010 Parabon Computation, Inc. All Rights Reserved.