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_async
close_async, close
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
activate_async, close_async, getCurrentEventContext_async, passivate_async
public 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
_RawFileStoreOperations
SecurityViolation
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 _RawFileStoreOperations
setFileId_async
in class RawFileStoreI
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void read_async(AMD_RawFileStore_read __cb, long position, int length, Ice.Current __current) throws ServerError
_RawFileStoreOperations
length
bytes of data at the
position
from the raw file into an array of
bytes.read_async
in interface _RawFileStoreOperations
read_async
in class RawFileStoreI
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void write_async(AMD_RawFileStore_write __cb, byte[] buf, long position, int length, Ice.Current __current) throws ServerError
_RawFileStoreOperations
length
bytes of data from the specified
buf
byte array starting at at
position
to the raw file.write_async
in interface _RawFileStoreOperations
write_async
in class RawFileStoreI
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
protected void preClose(Ice.Current current) throws java.lang.Throwable
preClose
in class RawFileStoreI
java.lang.Throwable
protected void postClose(Ice.Current c)
AbstractCloseableAmdServant
postClose
in class RawFileStoreI