public interface _ExporterOperations extends _StatefulServiceInterfaceOperations
 
 ExporterPrx e = sf.createExporter();
 // Exporter is currently in the <i>configuration</i> state
 // Objects can be added by id which should be present
 // in the output.
 e.addImage(1);
 // As soon as a generate method is called, the objects
 // added to the Exporter are converted to the specified
 // format. The length of the file produced is returned.
 // No more objects can be added to the Exporter, nor can
 // another generate method be called.
 long length = e.generateTiff();
 // As soon as the server-side file is generated, read()
 // can be called to get file segments. To create another
 // file, create a second Exporter. Be sure to close all
 // Exporter instances.
 long read = 0
 byte\[] buf;
 while (true) {
 buf = e.read(read, 1000000);
 // Store to file locally here
 if (buf.length < 1000000) {
 break;
 }
 read += buf.length;
 }
 e.close();
 
 | 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(). | 
| 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)Generates an OME-XML file. | 
| void | read_async(AMD_Exporter_read __cb,
          long position,
          int length,
          Ice.Current __current)Returns  lengthbytes from the output file. | 
activate_async, close_async, getCurrentEventContext_async, passivate_asyncvoid addImage_async(AMD_Exporter_addImage __cb, long id, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid generateXml_async(AMD_Exporter_generateXml __cb, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid generateTiff_async(AMD_Exporter_generateTiff __cb, Ice.Current __current) throws ServerError
__cb - The callback object for the operation.__current - The Current object for the invocation.ServerErrorvoid read_async(AMD_Exporter_read __cb, long position, int length, Ice.Current __current) throws ServerError
length bytes from the output file. The
 file can be safely read until reset() is called.__cb - The callback object for the operation.__current - The Current object for the invocation.ServerError