Package omero :: Package plugins :: Module sessions :: Class SessionsControl
[hide private]
[frames] | no frames]

Class SessionsControl

source code


Instance Methods [hide private]
 
store(self, args) source code
 
_configure(self, parser) source code
 
_configure_login(self, login, logout=None) source code
 
_configure_dir(self, parser) source code
 
help(self, args) source code
 
login(self, args)
Goals: If server and key, then don't ask any questions.
source code
 
check_and_attach(self, store, server, name, uuid, props)
Checks for conflicts in the settings for this session, and if there are none, then attempts an "attach()".
source code
 
attach(self, store, server, name, uuid, props, exists, set_current=True) source code
 
handle(self, rv, action)
Handles a new connection
source code
 
logout(self, args) source code
 
group(self, args) source code
 
list(self, args) source code
 
clear(self, args) source code
 
keepalive(self, args) source code
 
file(self, args) source code
 
conn(self, properties=None, profile=None, args=None)
Either creates or returns the exiting omero.client instance.
source code
 
_parse_conn(self, server) source code
 
_get_server(self, store) source code
 
_get_username(self, defuser) source code

Inherited from cli.BaseControl: __init__

Class Variables [hide private]
  FACTORY = SessionsStore
Method Details [hide private]

login(self, args)

source code 

Goals: If server and key, then don't ask any questions. If nothing requested, and something's active, use it. (i.e. don't require port number) Reconnect if possible (assuming parameters are the same)

check_and_attach(self, store, server, name, uuid, props)

source code 

Checks for conflicts in the settings for this session, and if there are none, then attempts an "attach()". If that fails, the session is removed.

conn(self, properties=None, profile=None, args=None)

source code 

Either creates or returns the exiting omero.client instance. Uses the comm() method with the same signature.