use of org.dcache.srm.v2_2.ArrayOfTCopyRequestFileStatus in project dcache by dCache.
the class CopyRequest method getSrmStatusOfCopyRequest.
public final SrmStatusOfCopyRequestResponse getSrmStatusOfCopyRequest(org.apache.axis.types.URI[] fromurls, org.apache.axis.types.URI[] tourls) throws SRMInvalidRequestException {
SrmStatusOfCopyRequestResponse response = new SrmStatusOfCopyRequestResponse();
response.setReturnStatus(getTReturnStatus());
TCopyRequestFileStatus[] fileStatuses = getArrayOfTCopyRequestFileStatuses(fromurls, tourls);
response.setArrayOfFileStatuses(new ArrayOfTCopyRequestFileStatus(fileStatuses));
response.setRemainingTotalRequestTime(getRemainingLifetimeIn(TimeUnit.SECONDS));
return response;
}
use of org.dcache.srm.v2_2.ArrayOfTCopyRequestFileStatus in project dcache by dCache.
the class CopyRequest method getSrmCopyResponse.
public final SrmCopyResponse getSrmCopyResponse() throws SRMInvalidRequestException {
SrmCopyResponse response = new SrmCopyResponse();
response.setReturnStatus(getTReturnStatus());
response.setRequestToken(getTRequestToken());
response.setArrayOfFileStatuses(new ArrayOfTCopyRequestFileStatus(getArrayOfTCopyRequestFileStatuses()));
response.setRemainingTotalRequestTime(getRemainingLifetimeIn(TimeUnit.SECONDS));
return response;
}
Aggregations