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 longserialVersionUID-
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 voidaddCallback(CmdCallbackPrx cb, Ice.Current __current)Add a callback for notifications.booleancancel(Ice.Current __current)Attempts to cancel execution of thisRequest.voidclose(Ice.Current __current)Closes this handle.booleanequals(java.lang.Object rhs)RequestgetRequest(Ice.Current __current)Returns the request object that was used to initialize this handle.ResponsegetResponse(Ice.Current __current)Returns a response if this handle has finished execution, otherwise returns null.StatusgetStatus(Ice.Current __current)Returns a status object for the current execution.inthashCode()java.lang.Objectice_delegate()voidice_delegate(java.lang.Object delegate)voidremoveCallback(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_delegatein interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegatein interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
addCallback
public void addCallback(CmdCallbackPrx cb, Ice.Current __current)
Description copied from interface:_HandleOperationsAdd a callback for notifications.- Specified by:
addCallbackin interface_HandleOperations__current- The Current object for the invocation.
-
cancel
public boolean cancel(Ice.Current __current) throws LockTimeoutDescription copied from interface:_HandleOperationsAttempts 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_HandleOperations- Parameters:
__current- The Current object for the invocation.- Throws:
LockTimeout
-
close
public void close(Ice.Current __current)
Description copied from interface:_HandleOperationsCloses 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_HandleOperations- Parameters:
__current- The Current object for the invocation.
-
getRequest
public Request getRequest(Ice.Current __current)
Description copied from interface:_HandleOperationsReturns the request object that was used to initialize this handle. Never null.- Specified by:
getRequestin interface_HandleOperations- Parameters:
__current- The Current object for the invocation.
-
getResponse
public Response getResponse(Ice.Current __current)
Description copied from interface:_HandleOperationsReturns a response if this handle has finished execution, otherwise returns null.- Specified by:
getResponsein interface_HandleOperations- Parameters:
__current- The Current object for the invocation.
-
getStatus
public Status getStatus(Ice.Current __current)
Description copied from interface:_HandleOperationsReturns 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_HandleOperations- Parameters:
__current- The Current object for the invocation.
-
removeCallback
public void removeCallback(CmdCallbackPrx cb, Ice.Current __current)
Description copied from interface:_HandleOperationsRemove callback for notifications.- Specified by:
removeCallbackin interface_HandleOperations__current- The Current object for the invocation.
-
-