Package omero.cmd
Class _HandleTie
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.cmd._HandleDisp
-
- omero.cmd._HandleTie
-
- All Implemented Interfaces:
Ice.Object
,Ice.TieBase
,java.io.Serializable
,java.lang.Cloneable
,_HandleOperations
,_HandleOperationsNC
,Handle
public class _HandleTie extends _HandleDisp implements Ice.TieBase
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Fields inherited from class omero.cmd._HandleDisp
__ids
-
Fields inherited from interface omero.cmd.Handle
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _HandleTie()
_HandleTie(_HandleOperations delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCallback(CmdCallbackPrx cb, Ice.Current __current)
Add a callback for notifications.boolean
cancel(Ice.Current __current)
Attempts to cancel execution of thisRequest
.void
close(Ice.Current __current)
Closes this handle.boolean
equals(java.lang.Object rhs)
Request
getRequest(Ice.Current __current)
Returns the request object that was used to initialize this handle.Response
getResponse(Ice.Current __current)
Returns a response if this handle has finished execution, otherwise returns null.Status
getStatus(Ice.Current __current)
Returns a status object for the current execution.int
hashCode()
java.lang.Object
ice_delegate()
void
ice_delegate(java.lang.Object delegate)
void
removeCallback(CmdCallbackPrx cb, Ice.Current __current)
Remove callback for notifications.-
Methods inherited from class omero.cmd._HandleDisp
___addCallback, ___cancel, ___close, ___getRequest, ___getResponse, ___getStatus, ___removeCallback, __dispatch, __readImpl, __writeImpl, addCallback, cancel, close, getRequest, getResponse, getStatus, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, removeCallback
-
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
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
_HandleTie
public _HandleTie()
-
_HandleTie
public _HandleTie(_HandleOperations delegate)
-
-
Method Detail
-
ice_delegate
public java.lang.Object ice_delegate()
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
addCallback
public void addCallback(CmdCallbackPrx cb, Ice.Current __current)
Description copied from interface:_HandleOperations
Add a callback for notifications.- Specified by:
addCallback
in interface_HandleOperations
__current
- The Current object for the invocation.
-
cancel
public boolean cancel(Ice.Current __current) throws LockTimeout
Description copied from interface:_HandleOperations
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_HandleOperations
- Parameters:
__current
- The Current object for the invocation.- Throws:
LockTimeout
-
close
public void close(Ice.Current __current)
Description copied from interface:_HandleOperations
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_HandleOperations
- Parameters:
__current
- The Current object for the invocation.
-
getRequest
public Request getRequest(Ice.Current __current)
Description copied from interface:_HandleOperations
Returns the request object that was used to initialize this handle. Never null.- Specified by:
getRequest
in interface_HandleOperations
- Parameters:
__current
- The Current object for the invocation.
-
getResponse
public Response getResponse(Ice.Current __current)
Description copied from interface:_HandleOperations
Returns a response if this handle has finished execution, otherwise returns null.- Specified by:
getResponse
in interface_HandleOperations
- Parameters:
__current
- The Current object for the invocation.
-
getStatus
public Status getStatus(Ice.Current __current)
Description copied from interface:_HandleOperations
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_HandleOperations
- Parameters:
__current
- The Current object for the invocation.
-
removeCallback
public void removeCallback(CmdCallbackPrx cb, Ice.Current __current)
Description copied from interface:_HandleOperations
Remove callback for notifications.- Specified by:
removeCallback
in interface_HandleOperations
__current
- The Current object for the invocation.
-
-