public abstract class _ImportProcessDisp extends Ice.ObjectImpl implements ImportProcess
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId
Constructor and Description |
---|
_ImportProcessDisp() |
Modifier and Type | Method and Description |
---|---|
static Ice.DispatchStatus |
___getHandle(ImportProcess __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getImportSettings(ImportProcess __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getUploader(ImportProcess __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getUploadOffset(ImportProcess __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___verifyUpload(ImportProcess __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
void |
activate_async(AMD_StatefulServiceInterface_activate __cb)
Load a service implementation from disk if it was previously
passivated.
|
void |
close_async(AMD_StatefulServiceInterface_close __cb)
Frees all resources -- passivated or active -- for the given
stateful service and removes its name from the object adapter.
|
void |
getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb)
To free clients from tracking the mapping from session to stateful
service, each stateful service can returns its own context information.
|
HandlePrx |
getHandle()
Reacquire the handle which was returned by
verifyUpload . |
ImportSettings |
getImportSettings() |
RawFileStorePrx |
getUploader(int i)
Step 1: Returns a RawFileStore that can be used to upload one of
the used files.
|
long |
getUploadOffset(int i)
In case an upload must be resumed, this provides the
location of the last successful upload.
|
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
void |
passivate_async(AMD_StatefulServiceInterface_passivate __cb)
Causes the blitz server to store the service implementation to disk
to free memory.
|
HandlePrx |
verifyUpload(java.util.List<java.lang.String> hash)
Step 2: Passes a set of client-side calculated hashes to the
server for verifying that all of the files were correctly
uploaded.
|
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHandle, getImportSettings, getUploader, getUploadOffset, verifyUpload
activate_async, close_async, getCurrentEventContext_async, passivate_async
public static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean ice_isA(java.lang.String s)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public boolean ice_isA(java.lang.String s, Ice.Current __current)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public java.lang.String[] ice_ids()
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String[] ice_ids(Ice.Current __current)
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String ice_id()
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public java.lang.String ice_id(Ice.Current __current)
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public static java.lang.String ice_staticId()
public final void activate_async(AMD_StatefulServiceInterface_activate __cb) throws ServerError
activate_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void close_async(AMD_StatefulServiceInterface_close __cb) throws ServerError
close_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb) throws ServerError
getCurrentEventContext_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void passivate_async(AMD_StatefulServiceInterface_passivate __cb) throws ServerError
passivate_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final HandlePrx getHandle() throws ServerError
verifyUpload
. This is useful in case a new
client is re-attaching to a running import.
From the Handle
instance, the
original ImportRequest
can also be found.getHandle
in interface _ImportProcessOperationsNC
ServerError
public final ImportSettings getImportSettings()
getImportSettings
in interface _ImportProcessOperationsNC
public final long getUploadOffset(int i) throws ServerError
getUploadOffset
in interface _ImportProcessOperationsNC
ServerError
public final RawFileStorePrx getUploader(int i) throws ServerError
ImportLocation
. omero.api.RawFileStore.close
should be called once all data has been transferred. If the
file must be re-written, call getUploader
with the
same index again. Once all uploads have been completed,
verifyUpload
should be called to initiate background
processinggetUploader
in interface _ImportProcessOperationsNC
ServerError
public final HandlePrx verifyUpload(java.util.List<java.lang.String> hash) throws ServerError
Handle
proxy is returned, which completes all the necessary import
steps. A successful import will return an
ImportResponse
. Otherwise, some ERR
will be returned.verifyUpload
in interface _ImportProcessOperationsNC
ServerError
public static Ice.DispatchStatus ___getUploader(ImportProcess __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___verifyUpload(ImportProcess __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getUploadOffset(ImportProcess __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getHandle(ImportProcess __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getImportSettings(ImportProcess __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch
in interface Ice.Object
__dispatch
in class Ice.ObjectImpl
protected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl
in class Ice.ObjectImpl
protected void __readImpl(IceInternal.BasicStream __is)
__readImpl
in class Ice.ObjectImpl