com.intel.gpe.client2.common.requests
Class CopyFileRequest

java.lang.Object
  extended by com.intel.gpe.client2.requests.BaseRequest
      extended by com.intel.gpe.client2.common.requests.CopyFileRequest
All Implemented Interfaces:
Request, java.io.Serializable

public class CopyFileRequest
extends BaseRequest

The request for file copying. The directories are copied recursively. The return value of the request is the target file name.

Version:
$Id: CopyFileRequest.java,v 1.4 2006/10/20 15:07:42 mlukichev Exp $
Author:
Alexander Lukichev
See Also:
Serialized Form

Constructor Summary
CopyFileRequest(com.intel.gpe.clients.api.StorageClient storageClient, com.intel.gpe.clients.api.GridFile from, java.lang.String to)
          Create the request object.
 
Method Summary
 java.lang.Object perform()
          The request body.
 
Methods inherited from class com.intel.gpe.client2.requests.BaseRequest
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyFileRequest

public CopyFileRequest(com.intel.gpe.clients.api.StorageClient storageClient,
                       com.intel.gpe.clients.api.GridFile from,
                       java.lang.String to)
Create the request object.

Parameters:
storageClient - - the client to the remote storage
from - - the source file name
to - - the target file name
Method Detail

perform

public java.lang.Object perform()
                         throws java.lang.Throwable
Description copied from interface: Request
The request body.

Returns:
the result of the request
Throws:
java.lang.Throwable - TODO


Copyright © 2008. All Rights Reserved.