edu.stolaf.cs.wmrserver.thrift
Class JobService.Client

java.lang.Object
  extended by org.apache.thrift.TServiceClient
      extended by edu.stolaf.cs.wmrserver.thrift.JobService.Client
All Implemented Interfaces:
JobService.Iface
Enclosing class:
JobService

public static class JobService.Client
extends org.apache.thrift.TServiceClient
implements JobService.Iface


Nested Class Summary
static class JobService.Client.Factory
           
 
Field Summary
 
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_
 
Constructor Summary
JobService.Client(org.apache.thrift.protocol.TProtocol prot)
           
JobService.Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
           
 
Method Summary
 JobStatus getStatus(long id)
           
 void kill(long id)
           
 DataPage readDataPage(java.lang.String path, int page)
           
 JobStatus recv_getStatus()
           
 void recv_kill()
           
 DataPage recv_readDataPage()
           
 java.lang.String recv_storeDataset()
           
 long recv_submit()
           
 void send_getStatus(long id)
           
 void send_kill(long id)
           
 void send_readDataPage(java.lang.String path, int page)
           
 void send_storeDataset(java.lang.String name, java.lang.String data)
           
 void send_submit(JobRequest request)
           
 java.lang.String storeDataset(java.lang.String name, java.lang.String data)
           
 long submit(JobRequest request)
           
 
Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobService.Client

public JobService.Client(org.apache.thrift.protocol.TProtocol prot)

JobService.Client

public JobService.Client(org.apache.thrift.protocol.TProtocol iprot,
                         org.apache.thrift.protocol.TProtocol oprot)
Method Detail

storeDataset

public java.lang.String storeDataset(java.lang.String name,
                                     java.lang.String data)
                              throws InternalException,
                                     org.apache.thrift.TException
Specified by:
storeDataset in interface JobService.Iface
Throws:
InternalException
org.apache.thrift.TException

send_storeDataset

public void send_storeDataset(java.lang.String name,
                              java.lang.String data)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_storeDataset

public java.lang.String recv_storeDataset()
                                   throws InternalException,
                                          org.apache.thrift.TException
Throws:
InternalException
org.apache.thrift.TException

readDataPage

public DataPage readDataPage(java.lang.String path,
                             int page)
                      throws NotFoundException,
                             InternalException,
                             PermissionException,
                             org.apache.thrift.TException
Specified by:
readDataPage in interface JobService.Iface
Throws:
NotFoundException
InternalException
PermissionException
org.apache.thrift.TException

send_readDataPage

public void send_readDataPage(java.lang.String path,
                              int page)
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_readDataPage

public DataPage recv_readDataPage()
                           throws NotFoundException,
                                  InternalException,
                                  PermissionException,
                                  org.apache.thrift.TException
Throws:
NotFoundException
InternalException
PermissionException
org.apache.thrift.TException

submit

public long submit(JobRequest request)
            throws ValidationException,
                   NotFoundException,
                   CompilationException,
                   InternalException,
                   PermissionException,
                   QuotaException,
                   ForbiddenTestJobException,
                   org.apache.thrift.TException
Specified by:
submit in interface JobService.Iface
Throws:
ValidationException
NotFoundException
CompilationException
InternalException
PermissionException
QuotaException
ForbiddenTestJobException
org.apache.thrift.TException

send_submit

public void send_submit(JobRequest request)
                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_submit

public long recv_submit()
                 throws ValidationException,
                        NotFoundException,
                        CompilationException,
                        InternalException,
                        PermissionException,
                        QuotaException,
                        ForbiddenTestJobException,
                        org.apache.thrift.TException
Throws:
ValidationException
NotFoundException
CompilationException
InternalException
PermissionException
QuotaException
ForbiddenTestJobException
org.apache.thrift.TException

getStatus

public JobStatus getStatus(long id)
                    throws NotFoundException,
                           InternalException,
                           org.apache.thrift.TException
Specified by:
getStatus in interface JobService.Iface
Throws:
NotFoundException
InternalException
org.apache.thrift.TException

send_getStatus

public void send_getStatus(long id)
                    throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_getStatus

public JobStatus recv_getStatus()
                         throws NotFoundException,
                                InternalException,
                                org.apache.thrift.TException
Throws:
NotFoundException
InternalException
org.apache.thrift.TException

kill

public void kill(long id)
          throws NotFoundException,
                 IllegalJobStateException,
                 InternalException,
                 org.apache.thrift.TException
Specified by:
kill in interface JobService.Iface
Throws:
NotFoundException
IllegalJobStateException
InternalException
org.apache.thrift.TException

send_kill

public void send_kill(long id)
               throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

recv_kill

public void recv_kill()
               throws NotFoundException,
                      IllegalJobStateException,
                      InternalException,
                      org.apache.thrift.TException
Throws:
NotFoundException
IllegalJobStateException
InternalException
org.apache.thrift.TException