ome.services.blitz.impl
Class SessionI

java.lang.Object
  extended by ome.services.blitz.impl.AbstractAmdServant
      extended by ome.services.blitz.impl.SessionI
All Implemented Interfaces:
CloseableServant, omero.api._ISessionOperations, omero.api._ServiceInterfaceOperations, org.springframework.context.ApplicationContextAware

public class SessionI
extends AbstractAmdServant
implements omero.api._ISessionOperations

Implementation of the ISession service.

Since:
3.0-Beta4
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
ISession

Field Summary
 
Fields inherited from class ome.services.blitz.impl.AbstractAmdServant
be, ctx, invoker, log, service
 
Constructor Summary
SessionI(ISession service, BlitzExecutor be)
           
 
Method Summary
 void closeSession_async(omero.api.AMD_ISession_closeSession __cb, omero.model.Session sess, Ice.Current __current)
           
 void createSession_async(omero.api.AMD_ISession_createSession __cb, omero.sys.Principal p, String credentials, Ice.Current __current)
           
 void createSessionWithTimeout_async(omero.api.AMD_ISession_createSessionWithTimeout __cb, omero.sys.Principal p, long ttlMs, Ice.Current __current)
           
 void createSessionWithTimeouts_async(omero.api.AMD_ISession_createSessionWithTimeouts __cb, omero.sys.Principal p, long ttlMs, long ttiMs, Ice.Current __current)
           
 void createUserSession_async(omero.api.AMD_ISession_createUserSession __cb, long arg0, long arg1, String arg2, Ice.Current __current)
           
 void getInput_async(omero.api.AMD_ISession_getInput __cb, String sess, String key, Ice.Current __current)
           
 void getInputKeys_async(omero.api.AMD_ISession_getInputKeys __cb, String sess, Ice.Current __current)
           
 void getInputs_async(omero.api.AMD_ISession_getInputs __cb, String sess, Ice.Current __current)
           
 void getMyOpenAgentSessions_async(omero.api.AMD_ISession_getMyOpenAgentSessions __cb, String agent, Ice.Current __current)
           
 void getMyOpenClientSessions_async(omero.api.AMD_ISession_getMyOpenClientSessions __cb, Ice.Current __current)
           
 void getMyOpenSessions_async(omero.api.AMD_ISession_getMyOpenSessions __cb, Ice.Current __current)
           
 void getOutput_async(omero.api.AMD_ISession_getOutput __cb, String sess, String key, Ice.Current __current)
           
 void getOutputKeys_async(omero.api.AMD_ISession_getOutputKeys __cb, String sess, Ice.Current __current)
           
 void getOutputs_async(omero.api.AMD_ISession_getOutputs __cb, String sess, Ice.Current __current)
           
 void getReferenceCount_async(omero.api.AMD_ISession_getReferenceCount __cb, String sessionUuid, Ice.Current __current)
           
 void getSession_async(omero.api.AMD_ISession_getSession __cb, String sessionUuid, Ice.Current __current)
           
 void setInput_async(omero.api.AMD_ISession_setInput __cb, String sess, String key, omero.RType value, Ice.Current __current)
           
 void setOutput_async(omero.api.AMD_ISession_setOutput __cb, String sess, String key, omero.RType value, Ice.Current __current)
           
 
Methods inherited from class ome.services.blitz.impl.AbstractAmdServant
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, close_async, close, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, preClose, runnableCall, safeRunnableCall, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionI

public SessionI(ISession service,
                BlitzExecutor be)
Method Detail

closeSession_async

public void closeSession_async(omero.api.AMD_ISession_closeSession __cb,
                               omero.model.Session sess,
                               Ice.Current __current)
                        throws omero.ServerError
Specified by:
closeSession_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

createSessionWithTimeout_async

public void createSessionWithTimeout_async(omero.api.AMD_ISession_createSessionWithTimeout __cb,
                                           omero.sys.Principal p,
                                           long ttlMs,
                                           Ice.Current __current)
                                    throws omero.ServerError,
                                           Glacier2.CannotCreateSessionException
Specified by:
createSessionWithTimeout_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError
Glacier2.CannotCreateSessionException

createSessionWithTimeouts_async

public void createSessionWithTimeouts_async(omero.api.AMD_ISession_createSessionWithTimeouts __cb,
                                            omero.sys.Principal p,
                                            long ttlMs,
                                            long ttiMs,
                                            Ice.Current __current)
                                     throws omero.ServerError,
                                            Glacier2.CannotCreateSessionException
Specified by:
createSessionWithTimeouts_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError
Glacier2.CannotCreateSessionException

createSession_async

public void createSession_async(omero.api.AMD_ISession_createSession __cb,
                                omero.sys.Principal p,
                                String credentials,
                                Ice.Current __current)
                         throws omero.ServerError,
                                Glacier2.CannotCreateSessionException
Specified by:
createSession_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError
Glacier2.CannotCreateSessionException

createUserSession_async

public void createUserSession_async(omero.api.AMD_ISession_createUserSession __cb,
                                    long arg0,
                                    long arg1,
                                    String arg2,
                                    Ice.Current __current)
                             throws omero.ServerError,
                                    Glacier2.CannotCreateSessionException
Specified by:
createUserSession_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError
Glacier2.CannotCreateSessionException

getInputKeys_async

public void getInputKeys_async(omero.api.AMD_ISession_getInputKeys __cb,
                               String sess,
                               Ice.Current __current)
                        throws omero.ServerError
Specified by:
getInputKeys_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

getInput_async

public void getInput_async(omero.api.AMD_ISession_getInput __cb,
                           String sess,
                           String key,
                           Ice.Current __current)
                    throws omero.ServerError
Specified by:
getInput_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

getOutputKeys_async

public void getOutputKeys_async(omero.api.AMD_ISession_getOutputKeys __cb,
                                String sess,
                                Ice.Current __current)
                         throws omero.ServerError
Specified by:
getOutputKeys_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

getOutput_async

public void getOutput_async(omero.api.AMD_ISession_getOutput __cb,
                            String sess,
                            String key,
                            Ice.Current __current)
                     throws omero.ServerError
Specified by:
getOutput_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

getSession_async

public void getSession_async(omero.api.AMD_ISession_getSession __cb,
                             String sessionUuid,
                             Ice.Current __current)
                      throws omero.ServerError
Specified by:
getSession_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

getReferenceCount_async

public void getReferenceCount_async(omero.api.AMD_ISession_getReferenceCount __cb,
                                    String sessionUuid,
                                    Ice.Current __current)
                             throws omero.ServerError
Specified by:
getReferenceCount_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

setInput_async

public void setInput_async(omero.api.AMD_ISession_setInput __cb,
                           String sess,
                           String key,
                           omero.RType value,
                           Ice.Current __current)
                    throws omero.ServerError
Specified by:
setInput_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

setOutput_async

public void setOutput_async(omero.api.AMD_ISession_setOutput __cb,
                            String sess,
                            String key,
                            omero.RType value,
                            Ice.Current __current)
                     throws omero.ServerError
Specified by:
setOutput_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

getInputs_async

public void getInputs_async(omero.api.AMD_ISession_getInputs __cb,
                            String sess,
                            Ice.Current __current)
                     throws omero.ServerError
Specified by:
getInputs_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

getOutputs_async

public void getOutputs_async(omero.api.AMD_ISession_getOutputs __cb,
                             String sess,
                             Ice.Current __current)
                      throws omero.ServerError
Specified by:
getOutputs_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

getMyOpenAgentSessions_async

public void getMyOpenAgentSessions_async(omero.api.AMD_ISession_getMyOpenAgentSessions __cb,
                                         String agent,
                                         Ice.Current __current)
                                  throws omero.ServerError
Specified by:
getMyOpenAgentSessions_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

getMyOpenClientSessions_async

public void getMyOpenClientSessions_async(omero.api.AMD_ISession_getMyOpenClientSessions __cb,
                                          Ice.Current __current)
                                   throws omero.ServerError
Specified by:
getMyOpenClientSessions_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError

getMyOpenSessions_async

public void getMyOpenSessions_async(omero.api.AMD_ISession_getMyOpenSessions __cb,
                                    Ice.Current __current)
                             throws omero.ServerError
Specified by:
getMyOpenSessions_async in interface omero.api._ISessionOperations
Throws:
omero.ServerError


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.