org.gcube.datatransfer.agent.library.calls
Class AgentServiceCall

java.lang.Object
  extended by org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery>
      extended by org.gcube.common.core.utils.calls.RICall
          extended by org.gcube.datatransfer.agent.library.calls.AgentServiceCall
All Implemented Interfaces:
AgentServiceCallInterface

public class AgentServiceCall
extends org.gcube.common.core.utils.calls.RICall
implements AgentServiceCallInterface

Author:
Andrea Manzi(CERN)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.utils.calls.RICall
org.gcube.common.core.utils.calls.RICall.RICallHandler
 
Nested classes/interfaces inherited from class org.gcube.common.core.utils.calls.GCUBECall
org.gcube.common.core.utils.calls.GCUBECall.ResultHolder<RESULT>
 
Field Summary
 
Fields inherited from class org.gcube.common.core.utils.calls.GCUBECall
clients, logger
 
Constructor Summary
AgentServiceCall(org.gcube.common.core.scope.GCUBEScope scope, org.gcube.common.core.security.GCUBESecurityManager[] securityManager)
           
 
Method Summary
 String cancelTransfer(org.gcube.datatransfer.agent.stubs.datatransferagent.CancelTransferMessage message)
           
protected  List<org.apache.axis.message.addressing.EndpointReferenceType> findPortType(org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery query, String portType)
           
protected  String getPortTypeName()
           
protected  org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery getRIQuery()
           
protected  String getServiceClass()
           
protected  String getServiceName()
           
 String startLocalFileTransfer(org.gcube.datatransfer.agent.stubs.datatransferagent.StartTransferMessage message)
           
 String startTransfer(org.gcube.datatransfer.agent.stubs.datatransferagent.StartTransferMessage message)
           
 
Methods inherited from class org.gcube.common.core.utils.calls.RICall
getInitQuery, setEndpoint
 
Methods inherited from class org.gcube.common.core.utils.calls.GCUBECall
getEndpointReference, getLogger, getQuery, getScopeManager, getSecurityManager, setEndpointReference, setLogger, setQuery, setScopeManager, setSecurityManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentServiceCall

public AgentServiceCall(org.gcube.common.core.scope.GCUBEScope scope,
                        org.gcube.common.core.security.GCUBESecurityManager[] securityManager)
                 throws Exception
Throws:
Exception
Method Detail

startTransfer

public String startTransfer(org.gcube.datatransfer.agent.stubs.datatransferagent.StartTransferMessage message)
                     throws Exception
Specified by:
startTransfer in interface AgentServiceCallInterface
Throws:
Exception

startLocalFileTransfer

public String startLocalFileTransfer(org.gcube.datatransfer.agent.stubs.datatransferagent.StartTransferMessage message)
                              throws Exception
Specified by:
startLocalFileTransfer in interface AgentServiceCallInterface
Throws:
Exception

getPortTypeName

protected String getPortTypeName()
Specified by:
getPortTypeName in class org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery>

getServiceClass

protected String getServiceClass()
Specified by:
getServiceClass in class org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery>

getServiceName

protected String getServiceName()
Specified by:
getServiceName in class org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery>

getRIQuery

protected org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery getRIQuery()
                                                                                  throws Exception
Overrides:
getRIQuery in class org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery>
Throws:
Exception

findPortType

protected List<org.apache.axis.message.addressing.EndpointReferenceType> findPortType(org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery query,
                                                                                      String portType)
                                                                               throws Exception
Overrides:
findPortType in class org.gcube.common.core.utils.calls.GCUBECall<org.gcube.common.core.informationsystem.client.queries.GCUBERIQuery>
Throws:
Exception

cancelTransfer

public String cancelTransfer(org.gcube.datatransfer.agent.stubs.datatransferagent.CancelTransferMessage message)
                      throws Exception
Specified by:
cancelTransfer in interface AgentServiceCallInterface
Throws:
Exception


Copyright © 2012. All Rights Reserved.