Version: 5.1.4-ice35-b55

OmeroBlitz Api
Home Previous Up Next Index

omero::api::ISession

Overview

[ "ami", "amd" ] interface ISession extends ServiceInterface

See ISession.html

Operation Index

createSession
createUserSession
HasPassword: Requires the session to have been created with a password as opposed to with a session uuid (via joinSession).
createSessionWithTimeout
createSessionWithTimeouts
getSession
getReferenceCount
closeSession
getMyOpenSessions
getMyOpenAgentSessions
getMyOpenClientSessions
getInput
getOutput
setInput
setOutput
getInputKeys
getOutputKeys
getInputs
getOutputs

Operations

model::Session createSession(sys::Principal p, string credentials) throws ServerError, ::Glacier2::CannotCreateSessionException

model::Session createUserSession(long timeToLiveMilliseconds, long timeToIdleMilliseconds, string defaultGroup) throws ServerError, ::Glacier2::CannotCreateSessionException

HasPassword: Requires the session to have been created with a password as opposed to with a session uuid (via joinSession). If that's not the case, a SecurityViolation will be thrown, in which case ServiceFactory.setSecurityPassword can be used.

model::Session createSessionWithTimeout(sys::Principal p, long timeToLiveMilliseconds) throws ServerError, ::Glacier2::CannotCreateSessionException

model::Session createSessionWithTimeouts(sys::Principal p, long timeToLiveMilliseconds, long timeToIdleMilliseconds) throws ServerError, ::Glacier2::CannotCreateSessionException

model::Session getSession(string sessionUuid) throws ServerError

int getReferenceCount(string sessionUuid) throws ServerError

int closeSession(model::Session sess) throws ServerError

SessionList getMyOpenSessions() throws ServerError

SessionList getMyOpenAgentSessions(string agent) throws ServerError

SessionList getMyOpenClientSessions() throws ServerError

RType getInput(string sess, string key) throws ServerError

RType getOutput(string sess, string key) throws ServerError

void setInput(string sess, string key, RType value) throws ServerError

void setOutput(string sess, string key, RType value) throws ServerError

StringSet getInputKeys(string sess) throws ServerError

StringSet getOutputKeys(string sess) throws ServerError

RTypeDict getInputs(string sess) throws ServerError

RTypeDict getOutputs(string sess) throws ServerError


Home Previous Up Next Index