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[]
__ids
static long
serialVersionUID
-
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)
void
addCallback(CmdCallbackPrx cb)
Add a callback for notifications.boolean
cancel()
Attempts to cancel execution of thisRequest
.void
close()
Closes this handle.Request
getRequest()
Returns the request object that was used to initialize this handle.Response
getResponse()
Returns a response if this handle has finished execution, otherwise returns null.Status
getStatus()
Returns a status object for the current execution.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
removeCallback(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_isA
in interfaceIce.Object
- Overrides:
ice_isA
in classIce.ObjectImpl
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)
- Specified by:
ice_isA
in interfaceIce.Object
- Overrides:
ice_isA
in classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids()
- Specified by:
ice_ids
in interfaceIce.Object
- Overrides:
ice_ids
in classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
- Specified by:
ice_ids
in interfaceIce.Object
- Overrides:
ice_ids
in classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id()
- Specified by:
ice_id
in interfaceIce.Object
- Overrides:
ice_id
in classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
- Specified by:
ice_id
in interfaceIce.Object
- Overrides:
ice_id
in 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:
addCallback
in interface_HandleOperationsNC
-
cancel
public final boolean cancel() throws LockTimeout
Attempts 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:
cancel
in 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:
close
in interface_HandleOperationsNC
-
getRequest
public final Request getRequest()
Returns the request object that was used to initialize this handle. Never null.- Specified by:
getRequest
in interface_HandleOperationsNC
-
getResponse
public final Response getResponse()
Returns a response if this handle has finished execution, otherwise returns null.- Specified by:
getResponse
in 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 theResponse
value. Never null.- Specified by:
getStatus
in interface_HandleOperationsNC
-
removeCallback
public final void removeCallback(CmdCallbackPrx cb)
Remove callback for notifications.- Specified by:
removeCallback
in 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:
__dispatch
in interfaceIce.Object
- Overrides:
__dispatch
in classIce.ObjectImpl
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImpl
in classIce.ObjectImpl
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImpl
in classIce.ObjectImpl
-
-