public class _ISessionTie extends _ISessionDisp implements Ice.TieBase
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
__ids
ice_staticId
Constructor and Description |
---|
_ISessionTie(_ISessionOperations delegate) |
_ISessionTie() |
Modifier and Type | Method and Description |
---|---|
void |
closeSession_async(AMD_ISession_closeSession __cb,
Session sess,
Ice.Current __current)
Closes session and releases all resources.
|
void |
createSession_async(AMD_ISession_createSession __cb,
Principal p,
java.lang.String credentials,
Ice.Current __current)
Creates a new session and returns it to the user.
|
void |
createSessionWithTimeout_async(AMD_ISession_createSessionWithTimeout __cb,
Principal principal,
long timeToLiveMilliseconds,
Ice.Current __current)
Allows an admin to create a
Session for the give
Principal . |
void |
createSessionWithTimeouts_async(AMD_ISession_createSessionWithTimeouts __cb,
Principal principal,
long timeToLiveMilliseconds,
long timeToIdleMilliseconds,
Ice.Current __current)
Allows an admin to create a
Session for
the given Principal . |
void |
createUserSession_async(AMD_ISession_createUserSession __cb,
long timeToLiveMilliseconds,
long timeToIdleMilliseconds,
java.lang.String defaultGroup,
Ice.Current __current)
Allows a user to open up another session for him/herself with the given
defaults without needing to re-enter password.
|
boolean |
equals(java.lang.Object rhs) |
void |
getInput_async(AMD_ISession_getInput __cb,
java.lang.String sess,
java.lang.String key,
Ice.Current __current)
Retrieves an entry from the given
Session input environment. |
void |
getInputKeys_async(AMD_ISession_getInputKeys __cb,
java.lang.String sess,
Ice.Current __current)
Retrieves all keys in the
Session input
environment. |
void |
getInputs_async(AMD_ISession_getInputs __cb,
java.lang.String sess,
Ice.Current __current)
Retrieves all inputs from the given
Session input environment. |
void |
getMyOpenAgentSessions_async(AMD_ISession_getMyOpenAgentSessions __cb,
java.lang.String agent,
Ice.Current __current)
Like
getMyOpenSessions but returns only those
sessions with the given agent string. |
void |
getMyOpenClientSessions_async(AMD_ISession_getMyOpenClientSessions __cb,
Ice.Current __current)
Like
getMyOpenSessions but returns only those
sessions started by official OMERO clients. |
void |
getMyOpenSessions_async(AMD_ISession_getMyOpenSessions __cb,
Ice.Current __current)
Returns a list of open sessions for the current user.
|
void |
getOutput_async(AMD_ISession_getOutput __cb,
java.lang.String sess,
java.lang.String key,
Ice.Current __current)
Retrieves an entry from the
Session
output environment. |
void |
getOutputKeys_async(AMD_ISession_getOutputKeys __cb,
java.lang.String sess,
Ice.Current __current)
Retrieves all keys in the
Session
output environment. |
void |
getOutputs_async(AMD_ISession_getOutputs __cb,
java.lang.String sess,
Ice.Current __current)
Retrieves all outputs from the given
Session input environment. |
void |
getReferenceCount_async(AMD_ISession_getReferenceCount __cb,
java.lang.String sessionUuid,
Ice.Current __current)
Retrieves the current reference count for the given uuid.
|
void |
getSession_async(AMD_ISession_getSession __cb,
java.lang.String sessionUuid,
Ice.Current __current)
Retrieves the session associated with this uuid, updating
the last access time as well.
|
int |
hashCode() |
java.lang.Object |
ice_delegate() |
void |
ice_delegate(java.lang.Object delegate) |
void |
setInput_async(AMD_ISession_setInput __cb,
java.lang.String sess,
java.lang.String key,
RType value,
Ice.Current __current)
Places an entry in the given
Session
input environment. |
void |
setOutput_async(AMD_ISession_setOutput __cb,
java.lang.String sess,
java.lang.String key,
RType value,
Ice.Current __current)
Places an entry in the given
Session
output environment. |
___closeSession, ___createSession, ___createSessionWithTimeout, ___createSessionWithTimeouts, ___createUserSession, ___getInput, ___getInputKeys, ___getInputs, ___getMyOpenAgentSessions, ___getMyOpenClientSessions, ___getMyOpenSessions, ___getOutput, ___getOutputKeys, ___getOutputs, ___getReferenceCount, ___getSession, ___setInput, ___setOutput, __dispatch, __readImpl, __writeImpl, closeSession_async, createSession_async, createSessionWithTimeout_async, createSessionWithTimeouts_async, createUserSession_async, getInput_async, getInputKeys_async, getInputs_async, getMyOpenAgentSessions_async, getMyOpenClientSessions_async, getMyOpenSessions_async, getOutput_async, getOutputKeys_async, getOutputs_async, getReferenceCount_async, getSession_async, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setInput_async, setOutput_async
___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
public static final long serialVersionUID
public _ISessionTie()
public _ISessionTie(_ISessionOperations delegate)
public java.lang.Object ice_delegate()
ice_delegate
in interface Ice.TieBase
public void ice_delegate(java.lang.Object delegate)
ice_delegate
in interface Ice.TieBase
public boolean equals(java.lang.Object rhs)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void closeSession_async(AMD_ISession_closeSession __cb, Session sess, Ice.Current __current) throws ServerError
_ISessionOperations
closeSession_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void createSession_async(AMD_ISession_createSession __cb, Principal p, java.lang.String credentials, Ice.Current __current) throws Glacier2.CannotCreateSessionException, ServerError
_ISessionOperations
createSession_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.Glacier2.CannotCreateSessionException
ServerError
public void createSessionWithTimeout_async(AMD_ISession_createSessionWithTimeout __cb, Principal principal, long timeToLiveMilliseconds, Ice.Current __current) throws Glacier2.CannotCreateSessionException, ServerError
_ISessionOperations
Session
for the give
Principal
.createSessionWithTimeout_async
in interface _ISessionOperations
__cb
- The callback object for the operation.principal
- Non-null Principal
with the
target user's nametimeToLiveMilliseconds
- The time that this Session
has until destruction. This is useful to
override the server default so that an initial
delay before the user is given the token will
not be construed as idle time. A value less than
1 will cause the default max timeToLive to be
used; but timeToIdle will be disabled.__current
- The Current object for the invocation.Glacier2.CannotCreateSessionException
ServerError
public void createSessionWithTimeouts_async(AMD_ISession_createSessionWithTimeouts __cb, Principal principal, long timeToLiveMilliseconds, long timeToIdleMilliseconds, Ice.Current __current) throws Glacier2.CannotCreateSessionException, ServerError
_ISessionOperations
Session
for
the given Principal
.createSessionWithTimeouts_async
in interface _ISessionOperations
__cb
- The callback object for the operation.principal
- Non-null Principal
with the
target user's nametimeToLiveMilliseconds
- The time that this Session
has until destruction. Setting the value to 0
will prevent destruction unless the session
remains idle.timeToIdleMilliseconds
- The time that this Session
can remain idle before being destroyed. Setting
the value to 0 will prevent idleness based
destruction.__current
- The Current object for the invocation.Glacier2.CannotCreateSessionException
ServerError
public void createUserSession_async(AMD_ISession_createUserSession __cb, long timeToLiveMilliseconds, long timeToIdleMilliseconds, java.lang.String defaultGroup, Ice.Current __current) throws Glacier2.CannotCreateSessionException, ServerError
_ISessionOperations
createUserSession_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.Glacier2.CannotCreateSessionException
ServerError
public void getInput_async(AMD_ISession_getInput __cb, java.lang.String sess, java.lang.String key, Ice.Current __current) throws ServerError
_ISessionOperations
Session
input environment.getInput_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getInputKeys_async(AMD_ISession_getInputKeys __cb, java.lang.String sess, Ice.Current __current) throws ServerError
_ISessionOperations
Session
input
environment.getInputKeys_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getInputs_async(AMD_ISession_getInputs __cb, java.lang.String sess, Ice.Current __current) throws ServerError
_ISessionOperations
Session
input environment.getInputs_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getMyOpenAgentSessions_async(AMD_ISession_getMyOpenAgentSessions __cb, java.lang.String agent, Ice.Current __current) throws ServerError
_ISessionOperations
getMyOpenSessions
but returns only those
sessions with the given agent string.getMyOpenAgentSessions_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getMyOpenClientSessions_async(AMD_ISession_getMyOpenClientSessions __cb, Ice.Current __current) throws ServerError
_ISessionOperations
getMyOpenSessions
but returns only those
sessions started by official OMERO clients.getMyOpenClientSessions_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getMyOpenSessions_async(AMD_ISession_getMyOpenSessions __cb, Ice.Current __current) throws ServerError
_ISessionOperations
getMyOpenSessions_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getOutput_async(AMD_ISession_getOutput __cb, java.lang.String sess, java.lang.String key, Ice.Current __current) throws ServerError
_ISessionOperations
Session
output environment.getOutput_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getOutputKeys_async(AMD_ISession_getOutputKeys __cb, java.lang.String sess, Ice.Current __current) throws ServerError
_ISessionOperations
Session
output environment.getOutputKeys_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getOutputs_async(AMD_ISession_getOutputs __cb, java.lang.String sess, Ice.Current __current) throws ServerError
_ISessionOperations
Session
input environment.getOutputs_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getReferenceCount_async(AMD_ISession_getReferenceCount __cb, java.lang.String sessionUuid, Ice.Current __current) throws ServerError
_ISessionOperations
getSession
.getReferenceCount_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getSession_async(AMD_ISession_getSession __cb, java.lang.String sessionUuid, Ice.Current __current) throws ServerError
_ISessionOperations
RemovedSessionException
if not present, or
a SessionTimeoutException
if expired.
This method can be used as a Session
ping.getSession_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void setInput_async(AMD_ISession_setInput __cb, java.lang.String sess, java.lang.String key, RType value, Ice.Current __current) throws ServerError
_ISessionOperations
Session
input environment.
If the value is null, the key will be removed.setInput_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void setOutput_async(AMD_ISession_setOutput __cb, java.lang.String sess, java.lang.String key, RType value, Ice.Current __current) throws ServerError
_ISessionOperations
Session
output environment. If the value is null, the key will be
removed.setOutput_async
in interface _ISessionOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError