public class ExporterI extends AbstractCloseableAmdServant implements _ExporterOperations, ServiceFactoryAware, BlitzOnly
START -> waiting -> config -> output -> waiting -> config ...
be, ctx, holder, invoker
Constructor and Description |
---|
ExporterI(BlitzExecutor be,
ome.services.db.DatabaseIdentity databaseIdentity,
ome.io.nio.PixelsService pixelsService) |
Modifier and Type | Method and Description |
---|---|
void |
addImage_async(AMD_Exporter_addImage __cb,
long id,
Ice.Current __current)
Adds a single image with basic metadata to the Exporter for inclusion
on the next call to getBytes().
|
loci.formats.meta.IMetadata |
convertXml(loci.formats.meta.MetadataRetrieve retrieve) |
void |
generateTiff_async(AMD_Exporter_generateTiff __cb,
Ice.Current __current)
Generates an OME-TIFF file.
|
void |
generateXml_async(AMD_Exporter_generateXml __cb,
Ice.Current __current)
Generate XML and return the length
|
java.lang.String |
generateXml(loci.formats.meta.MetadataRetrieve retrieve) |
protected void |
postClose(Ice.Current current)
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_Exporter_read __cb,
long pos,
int size,
Ice.Current __current)
Returns
length bytes from the output file. |
void |
setServiceFactory(ServiceFactoryI sf) |
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 ExporterI(BlitzExecutor be, ome.services.db.DatabaseIdentity databaseIdentity, ome.io.nio.PixelsService pixelsService) throws loci.common.services.DependencyException
loci.common.services.DependencyException
public void setServiceFactory(ServiceFactoryI sf) throws ServerError
setServiceFactory
in interface ServiceFactoryAware
ServerError
public void addImage_async(AMD_Exporter_addImage __cb, long id, Ice.Current __current) throws ServerError
_ExporterOperations
addImage_async
in interface _ExporterOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void generateXml_async(AMD_Exporter_generateXml __cb, Ice.Current __current) throws ServerError
generateXml_async
in interface _ExporterOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void generateTiff_async(AMD_Exporter_generateTiff __cb, Ice.Current __current) throws ServerError
_ExporterOperations
generateTiff_async
in interface _ExporterOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void read_async(AMD_Exporter_read __cb, long pos, int size, Ice.Current __current) throws ServerError
_ExporterOperations
length
bytes from the output file. The
file can be safely read until reset() is called.read_async
in interface _ExporterOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public loci.formats.meta.IMetadata convertXml(loci.formats.meta.MetadataRetrieve retrieve) throws loci.common.services.ServiceException
loci.common.services.ServiceException
public java.lang.String generateXml(loci.formats.meta.MetadataRetrieve retrieve) throws loci.common.services.ServiceException
loci.common.services.ServiceException
protected void preClose(Ice.Current current)
preClose
in class AbstractCloseableAmdServant
protected void postClose(Ice.Current current)
AbstractCloseableAmdServant
postClose
in class AbstractCloseableAmdServant