public class _ImportProcessTie extends _ImportProcessDisp implements Ice.TieBase
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
__ids
ice_staticId
Constructor and Description |
---|
_ImportProcessTie(_ImportProcessOperations delegate) |
_ImportProcessTie() |
Modifier and Type | Method and Description |
---|---|
void |
activate_async(AMD_StatefulServiceInterface_activate __cb,
Ice.Current __current)
Load a service implementation from disk if it was previously
passivated.
|
void |
close_async(AMD_StatefulServiceInterface_close __cb,
Ice.Current __current)
Frees all resources -- passivated or active -- for the given
stateful service and removes its name from the object adapter.
|
boolean |
equals(java.lang.Object rhs) |
void |
getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb,
Ice.Current __current)
To free clients from tracking the mapping from session to stateful
service, each stateful service can returns its own context information.
|
HandlePrx |
getHandle(Ice.Current __current)
Reacquire the handle which was returned by
verifyUpload . |
ImportSettings |
getImportSettings(Ice.Current __current) |
RawFileStorePrx |
getUploader(int i,
Ice.Current __current)
Step 1: Returns a RawFileStore that can be used to upload one of
the used files.
|
long |
getUploadOffset(int i,
Ice.Current __current)
In case an upload must be resumed, this provides the
location of the last successful upload.
|
int |
hashCode() |
java.lang.Object |
ice_delegate() |
void |
ice_delegate(java.lang.Object delegate) |
void |
passivate_async(AMD_StatefulServiceInterface_passivate __cb,
Ice.Current __current)
Causes the blitz server to store the service implementation to disk
to free memory.
|
HandlePrx |
verifyUpload(java.util.List<java.lang.String> hash,
Ice.Current __current)
Step 2: Passes a set of client-side calculated hashes to the
server for verifying that all of the files were correctly
uploaded.
|
___getHandle, ___getImportSettings, ___getUploader, ___getUploadOffset, ___verifyUpload, __dispatch, __readImpl, __writeImpl, activate_async, close_async, getCurrentEventContext_async, getHandle, getImportSettings, getUploader, getUploadOffset, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, passivate_async, verifyUpload
___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
public static final long serialVersionUID
public _ImportProcessTie()
public _ImportProcessTie(_ImportProcessOperations delegate)
public java.lang.Object ice_delegate()
ice_delegate
in interface Ice.TieBase
public void ice_delegate(java.lang.Object delegate)
ice_delegate
in interface Ice.TieBase
public boolean equals(java.lang.Object rhs)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void activate_async(AMD_StatefulServiceInterface_activate __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperations
activate_async
in interface _StatefulServiceInterfaceOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void close_async(AMD_StatefulServiceInterface_close __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperations
close_async
in interface _StatefulServiceInterfaceOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperations
getCurrentEventContext_async
in interface _StatefulServiceInterfaceOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void passivate_async(AMD_StatefulServiceInterface_passivate __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperations
passivate_async
in interface _StatefulServiceInterfaceOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public HandlePrx getHandle(Ice.Current __current) throws ServerError
_ImportProcessOperations
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 _ImportProcessOperations
__current
- The Current object for the invocation.ServerError
public ImportSettings getImportSettings(Ice.Current __current)
getImportSettings
in interface _ImportProcessOperations
public long getUploadOffset(int i, Ice.Current __current) throws ServerError
_ImportProcessOperations
getUploadOffset
in interface _ImportProcessOperations
__current
- The Current object for the invocation.ServerError
public RawFileStorePrx getUploader(int i, Ice.Current __current) throws ServerError
_ImportProcessOperations
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 _ImportProcessOperations
__current
- The Current object for the invocation.ServerError
public HandlePrx verifyUpload(java.util.List<java.lang.String> hash, Ice.Current __current) throws ServerError
_ImportProcessOperations
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 _ImportProcessOperations
__current
- The Current object for the invocation.ServerError