org.gcube.datatransfer.agent.impl.porttype
Class DataTransferAgent

java.lang.Object
  extended by org.gcube.common.core.porttypes.GCUBEPortType
      extended by org.gcube.datatransfer.agent.impl.porttype.DataTransferAgent
All Implemented Interfaces:
javax.xml.rpc.server.ServiceLifecycle

public class DataTransferAgent
extends org.gcube.common.core.porttypes.GCUBEPortType

Author:
Andrea Manzi(CERN)

Field Summary
protected  org.gcube.common.core.utils.logging.GCUBELog logger
           
 
Fields inherited from class org.gcube.common.core.porttypes.GCUBEPortType
initialized
 
Constructor Summary
DataTransferAgent()
           
 
Method Summary
 String cancelTransfer(org.gcube.datatransfer.agent.stubs.datatransferagent.CancelTransferMessage message)
          Cancel a transfer
protected  org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
           
 String startTransfer(org.gcube.datatransfer.agent.stubs.datatransferagent.StartTransferMessage message)
          Starts a new transfer
 
Methods inherited from class org.gcube.common.core.porttypes.GCUBEPortType
destroy, init, onFailure, onInitialisation, onReady, onStateChange, onUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.gcube.common.core.utils.logging.GCUBELog logger
Constructor Detail

DataTransferAgent

public DataTransferAgent()
Method Detail

startTransfer

public String startTransfer(org.gcube.datatransfer.agent.stubs.datatransferagent.StartTransferMessage message)
                     throws org.gcube.datatransfer.agent.stubs.datatransferagent.TransferFault
Starts a new transfer

Parameters:
message -
Returns:
Throws:
org.gcube.datatransfer.agent.stubs.datatransferagent.TransferFault

cancelTransfer

public String cancelTransfer(org.gcube.datatransfer.agent.stubs.datatransferagent.CancelTransferMessage message)
                      throws org.gcube.datatransfer.agent.stubs.datatransferagent.CancelTransferFault
Cancel a transfer

Parameters:
message -
Returns:
Throws:
org.gcube.datatransfer.agent.stubs.datatransferagent.TransferFault
org.gcube.common.core.faults.GCUBEFault
org.gcube.datatransfer.agent.stubs.datatransferagent.CancelTransferFault

getServiceContext

protected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
Specified by:
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortType


Copyright © 2012. All Rights Reserved.