Package omero.cmd
Class _HandleDisp
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.cmd._HandleDisp
-
- All Implemented Interfaces:
Ice.Object,java.io.Serializable,java.lang.Cloneable,_HandleOperations,_HandleOperationsNC,Handle
- Direct Known Subclasses:
_HandleTie
public abstract class _HandleDisp extends Ice.ObjectImpl implements Handle
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]__idsstatic longserialVersionUID-
Fields inherited from interface omero.cmd.Handle
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _HandleDisp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ice.DispatchStatus___addCallback(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___cancel(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___close(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getRequest(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getResponse(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getStatus(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___removeCallback(Handle __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)voidaddCallback(CmdCallbackPrx cb)Add a callback for notifications.booleancancel()Attempts to cancel execution of thisRequest.voidclose()Closes this handle.RequestgetRequest()Returns the request object that was used to initialize this handle.ResponsegetResponse()Returns a response if this handle has finished execution, otherwise returns null.StatusgetStatus()Returns a status object for the current execution.protected voidice_copyStateFrom(Ice.Object __obj)java.lang.Stringice_id()java.lang.Stringice_id(Ice.Current __current)java.lang.String[]ice_ids()java.lang.String[]ice_ids(Ice.Current __current)booleanice_isA(java.lang.String s)booleanice_isA(java.lang.String s, Ice.Current __current)static java.lang.Stringice_staticId()voidremoveCallback(CmdCallbackPrx cb)Remove callback for notifications.-
Methods inherited from class Ice.ObjectImpl
___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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.cmd._HandleOperations
addCallback, cancel, close, getRequest, getResponse, getStatus, removeCallback
-
-
-
-
Field Detail
-
__ids
public static final java.lang.String[] __ids
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
ice_copyStateFrom
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException- Throws:
java.lang.CloneNotSupportedException
-
ice_isA
public boolean ice_isA(java.lang.String s)
- Specified by:
ice_isAin interfaceIce.Object- Overrides:
ice_isAin classIce.ObjectImpl
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)- Specified by:
ice_isAin interfaceIce.Object- Overrides:
ice_isAin classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids()
- Specified by:
ice_idsin interfaceIce.Object- Overrides:
ice_idsin classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
- Specified by:
ice_idsin interfaceIce.Object- Overrides:
ice_idsin classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id()
- Specified by:
ice_idin interfaceIce.Object- Overrides:
ice_idin classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
- Specified by:
ice_idin interfaceIce.Object- Overrides:
ice_idin classIce.ObjectImpl
-
ice_staticId
public static java.lang.String ice_staticId()
-
addCallback
public final void addCallback(CmdCallbackPrx cb)
Add a callback for notifications.- Specified by:
addCallbackin interface_HandleOperationsNC
-
cancel
public final boolean cancel() throws LockTimeoutAttempts to cancel execution of thisRequest. Returns true if cancellation was successful. Returns false if not, in which case likely this request will run to completion.- Specified by:
cancelin interface_HandleOperationsNC- Throws:
LockTimeout
-
close
public final void close()
Closes this handle. If the request is running, then a cancellation will be attempted first. All uses of a handle should be surrounded by a try/finally close block.- Specified by:
closein interface_HandleOperationsNC
-
getRequest
public final Request getRequest()
Returns the request object that was used to initialize this handle. Never null.- Specified by:
getRequestin interface_HandleOperationsNC
-
getResponse
public final Response getResponse()
Returns a response if this handle has finished execution, otherwise returns null.- Specified by:
getResponsein interface_HandleOperationsNC
-
getStatus
public final Status getStatus()
Returns a status object for the current execution. This will likely be the same object that would be returned as a component of theResponsevalue. Never null.- Specified by:
getStatusin interface_HandleOperationsNC
-
removeCallback
public final void removeCallback(CmdCallbackPrx cb)
Remove callback for notifications.- Specified by:
removeCallbackin interface_HandleOperationsNC
-
___addCallback
public static Ice.DispatchStatus ___addCallback(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___removeCallback
public static Ice.DispatchStatus ___removeCallback(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getRequest
public static Ice.DispatchStatus ___getRequest(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getResponse
public static Ice.DispatchStatus ___getResponse(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getStatus
public static Ice.DispatchStatus ___getStatus(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___cancel
public static Ice.DispatchStatus ___cancel(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___close
public static Ice.DispatchStatus ___close(Handle __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
__dispatch
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)- Specified by:
__dispatchin interfaceIce.Object- Overrides:
__dispatchin classIce.ObjectImpl
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImplin classIce.ObjectImpl
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImplin classIce.ObjectImpl
-
-