Package omero.api
Class _ClientCallbackDisp
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.api._ClientCallbackDisp
-
- All Implemented Interfaces:
Ice.Object
,java.io.Serializable
,java.lang.Cloneable
,_ClientCallbackOperations
,_ClientCallbackOperationsNC
,ClientCallback
- Direct Known Subclasses:
_ClientCallbackTie
public abstract class _ClientCallbackDisp extends Ice.ObjectImpl implements ClientCallback
Primary callback interface for interaction between client and server session (""ServiceFactory""). Where possible these methods will be called one-way to prevent clients from hanging the server.- 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.api.ClientCallback
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _ClientCallbackDisp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ice.DispatchStatus
___requestHeartbeat(ClientCallback __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___sessionClosed(ClientCallback __obj, IceInternal.Incoming __inS, Ice.Current __current)
static Ice.DispatchStatus
___shutdownIn(ClientCallback __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)
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
requestHeartbeat()
Heartbeat-request made by the server to guarantee that the client is alive.void
sessionClosed()
The session to which this ServiceFactory is connected has been closed.void
shutdownIn(long milliseconds)
Message that the server will be shutting down in the given number of milliseconds, after which all new and running method invocations will receive a CancelledException.-
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.api._ClientCallbackOperations
requestHeartbeat, sessionClosed, shutdownIn
-
-
-
-
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()
-
requestHeartbeat
public final void requestHeartbeat()
Heartbeat-request made by the server to guarantee that the client is alive. If the client is still active, then some method should be made on the server to update the last idle time.- Specified by:
requestHeartbeat
in interface_ClientCallbackOperationsNC
-
sessionClosed
public final void sessionClosed()
The session to which this ServiceFactory is connected has been closed. Almost no further method calls (if any) are possible. Create a new session via omero.client.createSession()- Specified by:
sessionClosed
in interface_ClientCallbackOperationsNC
-
shutdownIn
public final void shutdownIn(long milliseconds)
Message that the server will be shutting down in the given number of milliseconds, after which all new and running method invocations will receive a CancelledException.- Specified by:
shutdownIn
in interface_ClientCallbackOperationsNC
-
___requestHeartbeat
public static Ice.DispatchStatus ___requestHeartbeat(ClientCallback __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___sessionClosed
public static Ice.DispatchStatus ___sessionClosed(ClientCallback __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___shutdownIn
public static Ice.DispatchStatus ___shutdownIn(ClientCallback __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
-
-