uk.ac.soton.ecs.iam.grid.comms.client
Interface DataConversation

All Superinterfaces:
Comparable<StorableInStateRepository>, Conversation, DataStagerResource, DestroyableConversation, PolicyManagement, ResourceMetadata, Signallable, StorableInStateRepository, WSResourceLifetime
All Known Implementing Classes:
DataConversationImpl

@OwningService(value=RemoteDataService.class)
public interface DataConversation
extends DestroyableConversation, DataStagerResource

A DataConversation represents a data stager on a remote machine.


Field Summary
 
Fields inherited from interface uk.ac.soton.itinnovation.grid.comms.data.DataStagerResource
DATA_RESOURCE_TYPE
 
Method Summary
 void copyFrom(DataConversation source)
          Copy from another data stager to this one.
 void copyTo(DataConversation target)
          Copy to another data stager from this one.
 void read(File file)
          Download from the data conversation.
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wsrf.WSResourceLifetime
destroy
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.Conversation
finish, getChildConversations, getService, isFinished, outOfDate
 
Methods inherited from interface uk.ac.soton.ecs.iam.grid.comms.client.StorableInStateRepository
getDescription, getEndpointRef, getInterface, getParentURL, getRepository, getURL, setDescription
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.data.DataStagerResource
addOwnerRule, checkData, checkReadAccess, checkWriteAccess, copyFrom, copyFromURL, copyTo, deleteContents, disableR, disableW, enableR, enableW, finishData, getManagerRules, getOwnerRules, getReaderRules, getWriterRules, read, removeOwnerRule, save, writeEnable, writeProtect
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wsrf.WSResourceLifetime
destroy
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.PolicyManagement
addPolicyRule, getPolicyRules, getValidRoles, removePolicyRule
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.ResourceMetadata
getEPR, setLabel
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.Signallable
getAvailableSignals, signal
 

Method Detail

read

void read(File file)
          throws RemoteException,
                 IOException
Download from the data conversation. This is a wrapper for DataStagerResource.read() which writes the result to a file.

Throws:
RemoteException
IOException

copyFrom

void copyFrom(DataConversation source)
              throws RemoteException
Copy from another data stager to this one. This is a wrapper for DataStagerResource.copyTo(org.apache.axis.message.addressing.EndpointReferenceType) which takes a DataConversation. It automatically includes the certificate of the source in the EPR, allowing transfers between services which don't know each other.

Throws:
RemoteException

copyTo

void copyTo(DataConversation target)
            throws RemoteException
Copy to another data stager from this one. This is a wrapper for DataStagerResource.copyTo(org.apache.axis.message.addressing.EndpointReferenceType) which takes a DataConversation. It automatically includes the certificate of the source in the EPR, allowing transfers between services which don't know each other.

Throws:
RemoteException


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.