Retrieving client from session
Posted: Thu Aug 25, 2011 2:22 pm
If I have a session, is it possible to retrieve the client object from the session. I am passing the session as an argument to a function and I need the client object. My code is
- Code: Select all
#list of commands
commands = []
commands.append(omero.api.delete.DeleteCommand("/ImageAnnotationLink", link.id.val, None))
commands.append(omero.api.delete.DeleteCommand("/Annotation", annotation.id.val, None))
deleteHandlePrx = deleteService.queueDelete(commands)
callback = omero.callbacks.DeleteCallbackI(client, deleteHandlePrx)