Home | Trees | Indices | Help |
|
---|
|
|
|||
|
|
|||
StreamRedirect Since all server components should exclusively using the logging module any output to stdout or stderr is caught and logged at "WARN". |
|||
ServerContext Context passed to all servants. |
|||
Server Basic server implementation which can be used for implementing a standalone python server which can be started from icegridnode. |
|||
SimpleServant Base servant initialization. |
|||
Servant Abstract servant which can be used along with a slice2py generated dispatch class as the base type of high-level servants. |
|||
Resources Container class for storing resources which should be cleaned up on close and periodically checked. |
|||
Environment Simple class for creating an executable environment |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
LOGDIR = os.path.join("var", "log")
|
|||
LOGFORMAT = """%(asctime)s %(levelname)-5.5s [%(name)40s] (%(t
|
|||
LOGLEVEL = logging.INFO
|
|||
LOGSIZE = 500000000
|
|||
LOGNUM = 9
|
|||
LOGMODE = "a"
|
|||
orig_stdout = sys.stdout
|
|||
orig_stderr = sys.stderr
|
Imports: os, sys, Ice, time, uuid, IceGrid, Glacier2, threading, exceptions, logging, omero, locked
|
Try to return a ServiceFactory from the grid. Try a number of times then give up and raise the last exception returned. This method will only work internally to the grid, i.e. behind the Glacier2 firewall. It is intended for internal servers to be able to create sessions for accessing the database. : communicator := Ice.Communicator used to find the registry user := Username which should have a session created group := Group into which the session should be logged retries := Number of session creation retries before throwing interval := Seconds between retries client_uuid := Uuid of the client which should be used |
Converts a long to a path such that for all directiories only a 1000 files and a 1000 subdirectories will be returned. This method duplicates the logic in ome.io.nio.AbstractFileSystemService.java:getPath() |
|
LOGFORMAT
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Dec 2 10:30:04 2009 | http://epydoc.sourceforge.net |