public class RepoRawFileStoreI extends RawFileStoreI
| Constructor and Description |
|---|
RepoRawFileStoreI(BlitzExecutor be,
ome.api.RawFileStore service,
Ice.Current curr) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
postClose(Ice.Current c)
Should not throw any exceptions which should be detected by clients
since it is called in a finally block after the client thread has been
released.
|
protected void |
preClose(Ice.Current current) |
void |
read_async(AMD_RawFileStore_read __cb,
long position,
int length,
Ice.Current __current)
Reads
length bytes of data at the
position from the raw file into an array of
bytes. |
void |
setCallback(ome.services.blitz.repo.RepoRawFileStoreI.Callback cb) |
void |
setFileId_async(AMD_RawFileStore_setFileId __cb,
long fileId,
Ice.Current __current)
This method manages the state of the service.
|
void |
write_async(AMD_RawFileStore_write __cb,
byte[] buf,
long position,
int length,
Ice.Current __current)
Writes
length bytes of data from the specified
buf byte array starting at at
position to the raw file. |
__redirect, exists_async, getFileId_async, getServiceFactory, save_async, setServiceFactory, setTie, size_async, truncate_asyncclose_async, closeactivate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivate_async, close_async, getCurrentEventContext_async, passivate_asyncpublic RepoRawFileStoreI(BlitzExecutor be, ome.api.RawFileStore service, Ice.Current curr)
public void setCallback(ome.services.blitz.repo.RepoRawFileStoreI.Callback cb)
public void setFileId_async(AMD_RawFileStore_setFileId __cb, long fileId, Ice.Current __current) throws ServerError
_RawFileStoreOperationsSecurityViolation if for the
current user context either the file is not readable or a
omero.constants.permissions.BINARYACCESS restriction is
in place.setFileId_async in interface _RawFileStoreOperationssetFileId_async in class RawFileStoreI__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void read_async(AMD_RawFileStore_read __cb, long position, int length, Ice.Current __current) throws ServerError
_RawFileStoreOperationslength bytes of data at the
position from the raw file into an array of
bytes.read_async in interface _RawFileStoreOperationsread_async in class RawFileStoreI__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorpublic void write_async(AMD_RawFileStore_write __cb, byte[] buf, long position, int length, Ice.Current __current) throws ServerError
_RawFileStoreOperationslength bytes of data from the specified
buf byte array starting at at
position to the raw file.write_async in interface _RawFileStoreOperationswrite_async in class RawFileStoreI__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorprotected void preClose(Ice.Current current)
throws java.lang.Throwable
preClose in class RawFileStoreIjava.lang.Throwableprotected void postClose(Ice.Current c)
AbstractCloseableAmdServantpostClose in class RawFileStoreI