|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RandomByteIOFileTransferClient
The file transfer client for Byte-IO file transfer operations.
Field Summary |
---|
Fields inherited from interface com.intel.gpe.clients.api.FileTransferClient |
---|
BASELINE, GASS, GRIDFTP, RANDOMBYTEIO, SFTP, STREAMABLEBYTEIO, SWA |
Method Summary | |
---|---|
void |
append(byte[] data)
Append data to the end of the remote file. |
java.util.Calendar |
getAccessTime()
Get the time of the file last access |
java.util.Calendar |
getCreateTime()
Get the time of resource creation. |
java.util.Calendar |
getModificationTime()
Get the time of the file last modification |
long |
getSize()
Get the size of the file behind the transfer resource. |
java.util.List<java.lang.String> |
getTransferMechanisms()
Get the list of supported Byte-IO transfer mechanisms. |
boolean |
isReadable()
Get the read permissions of the file. |
boolean |
isWritable()
Get the write permissions of the file. |
byte[] |
read(long startOffset,
int bytesPerBlock,
int numBlocks,
long stride)
Read data. |
void |
truncAppend(long startOffset,
byte[] data)
Truncates remote file and append data to the end of it. |
void |
write(long startOffset,
int bytesPerBlock,
long stride,
byte[] data)
Write data. |
Methods inherited from interface com.intel.gpe.clients.api.FileTransferClient |
---|
getSource, getTarget |
Methods inherited from interface com.intel.gpe.clients.api.WSLTClient |
---|
destroy, getCurrentTime, getTerminationTime, setTerminationTime |
Methods inherited from interface com.intel.gpe.clients.api.WSRPClient |
---|
getMultipleResourceProperties, getResourceProperty, getResourcePropertyDocument, queryXPath10Properties |
Method Detail |
---|
byte[] read(long startOffset, int bytesPerBlock, int numBlocks, long stride) throws java.lang.NumberFormatException, GPEByteIOCustomException, GPEByteIOReadNotPermittedException, GPEByteIOUnsupportedTransferException, GPEResourceUnknownException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException, GPESecurityException, GPEByteIOUnsupportedClientTransferMechanismException, GPEInvalidResourcePropertyQNameException, GPEUnmarshallingException
startOffset
- the start offset in the remote filebytesPerBlock
- amount of bytes to read per one blocknumBlocks
- the number of blocks to readstride
- the interval between blocks
GPEByteIOUnsupportedClientTransferMechanismException
GPEUnmarshallingException
GPEInvalidResourcePropertyQNameException
java.lang.NumberFormatException
GPEByteIOCustomException
GPEByteIOReadNotPermittedException
GPEByteIOUnsupportedTransferException
GPEResourceUnknownException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
GPESecurityException
void write(long startOffset, int bytesPerBlock, long stride, byte[] data) throws java.lang.NumberFormatException, java.lang.IllegalArgumentException, GPEByteIOCustomException, GPEByteIOWriteNotPermittedException, GPEByteIOUnsupportedTransferException, GPEResourceUnknownException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException, GPESecurityException, GPEInvalidResourcePropertyQNameException, GPEUnmarshallingException, GPEByteIOUnsupportedClientTransferMechanismException
startOffset
- the start offset in the remote filebytesPerBlock
- amount of bytes to write per one blockstride
- the interval between blocksdata
- the data to write; the following equation MUST be satisfied: data.length = bytesPerBlock * (number_of_blocks)
GPEUnmarshallingException
GPEInvalidResourcePropertyQNameException
GPEByteIOUnsupportedClientTransferMechanismException
java.lang.NumberFormatException
java.lang.IllegalArgumentException
GPEByteIOCustomException
GPEByteIOWriteNotPermittedException
GPEByteIOUnsupportedTransferException
GPEResourceUnknownException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
GPESecurityException
void append(byte[] data) throws GPEByteIOCustomException, GPEByteIOWriteNotPermittedException, GPEByteIOUnsupportedTransferException, GPEResourceUnknownException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException, GPESecurityException, GPEInvalidResourcePropertyQNameException, GPEUnmarshallingException, GPEByteIOUnsupportedClientTransferMechanismException
data
- the data to append
GPEUnmarshallingException
GPEInvalidResourcePropertyQNameException
GPEByteIOUnsupportedClientTransferMechanismException
GPEByteIOCustomException
GPEByteIOWriteNotPermittedException
GPEByteIOUnsupportedTransferException
GPEResourceUnknownException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
GPESecurityException
void truncAppend(long startOffset, byte[] data) throws GPEByteIOCustomException, GPEByteIOWriteNotPermittedException, GPEByteIOTruncateNotPermittedException, GPEByteIOUnsupportedTransferException, GPEResourceUnknownException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException, GPESecurityException, GPEInvalidResourcePropertyQNameException, GPEUnmarshallingException, GPEByteIOUnsupportedClientTransferMechanismException
data
- the data to appendstartOffset
- the size to which this file must be truncated
GPEUnmarshallingException
GPEInvalidResourcePropertyQNameException
GPEByteIOUnsupportedClientTransferMechanismException
GPEByteIOCustomException
GPEByteIOWriteNotPermittedException
GPEByteIOTruncateNotPermittedException
GPEByteIOUnsupportedTransferException
GPEResourceUnknownException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
GPESecurityException
long getSize() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
GPEInvalidResourcePropertyQNameException
GPEResourceUnknownException
GPEUnmarshallingException
GPESecurityException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
boolean isReadable() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
true
if the file is readable by the resource creator
GPEInvalidResourcePropertyQNameException
GPEResourceUnknownException
GPEUnmarshallingException
GPESecurityException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
boolean isWritable() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
true
if the file is writable by the resource creator
GPEInvalidResourcePropertyQNameException
GPEResourceUnknownException
GPEUnmarshallingException
GPESecurityException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
java.util.List<java.lang.String> getTransferMechanisms() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
GPEInvalidResourcePropertyQNameException
GPEResourceUnknownException
GPEUnmarshallingException
GPESecurityException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
java.util.Calendar getCreateTime() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
GPEInvalidResourcePropertyQNameException
GPEResourceUnknownException
GPEUnmarshallingException
GPESecurityException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
java.util.Calendar getModificationTime() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
GPEInvalidResourcePropertyQNameException
GPEResourceUnknownException
GPEUnmarshallingException
GPESecurityException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
java.util.Calendar getAccessTime() throws GPEInvalidResourcePropertyQNameException, GPEResourceUnknownException, GPEUnmarshallingException, GPESecurityException, GPEMiddlewareRemoteException, GPEMiddlewareServiceException
GPEInvalidResourcePropertyQNameException
GPEResourceUnknownException
GPEUnmarshallingException
GPESecurityException
GPEMiddlewareRemoteException
GPEMiddlewareServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |