public class ImportLibrary.ImportCallback extends CmdCallbackI
handle
Constructor and Description |
---|
ImportCallback(omero.grid.ImportProcessPrx proc,
omero.cmd.HandlePrx handle,
ImportContainer container) |
Modifier and Type | Method and Description |
---|---|
omero.grid.ImportResponse |
getImportResponse()
Assumes that users have already waited on proper
completion, i.e. that
onFinished(Response, Status, Current)
has been called. |
protected java.lang.Long |
loadLogFile() |
void |
onFinished(omero.cmd.Response rsp,
omero.cmd.Status status,
Ice.Current c)
Overridden to handle the end of the process.
|
void |
step(int step,
int total,
Ice.Current current)
Called periodically by the server to signal that processing is
moving forward.
|
block, close, finished, getResponse, getStatus, getStatusOrThrow, initializationDone, initialPoll, isCancelled, isFailure, loop, onFinishedDone, poll, waitOnFinishedDone, waitOnInitialization
___finished, ___step, __dispatch, __readImpl, __writeImpl, finished, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, step
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __collocDispatch, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
public ImportCallback(omero.grid.ImportProcessPrx proc, omero.cmd.HandlePrx handle, ImportContainer container) throws omero.ServerError
omero.ServerError
protected java.lang.Long loadLogFile() throws omero.ServerError
omero.ServerError
public void step(int step, int total, Ice.Current current)
CmdCallbackI
step
in interface omero.cmd._CmdCallbackOperations
step
in class CmdCallbackI
public void onFinished(omero.cmd.Response rsp, omero.cmd.Status status, Ice.Current c)
onFinished
in class CmdCallbackI
rsp
- the responsestatus
- the statusc
- regarding the current method invocationCmdCallbackI.onFinished(Response, Status, Current)
public omero.grid.ImportResponse getImportResponse()
onFinished(Response, Status, Current)
has been called.
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.