root/trunk/components/blitz/resources/omero/Constants.ice
| Revision 3150, 4.8 kB (checked in by ola, 6 weeks ago) |
|---|
| Line | |
|---|---|
| 1 | /* |
| 2 | * $Id$ |
| 3 | * |
| 4 | * Copyright 2007 Glencoe Software, Inc. All rights reserved. |
| 5 | * Use is subject to license terms supplied in LICENSE.txt |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | #ifndef OMERO_CONSTANTS_ICE |
| 10 | #define OMERO_CONSTANTS_ICE |
| 11 | |
| 12 | module omero { |
| 13 | module constants { |
| 14 | |
| 15 | /* |
| 16 | * Key in the ImplicitContext which must be filled |
| 17 | * by all omero.client implementations. |
| 18 | */ |
| 19 | const string CLIENTUUID = "omero.client.uuid"; |
| 20 | |
| 21 | |
| 22 | /* |
| 23 | * Default Ice.GC.Interval for OmeroCpp (60 seconds) |
| 24 | */ |
| 25 | const int GCINTERVAL = 60; |
| 26 | |
| 27 | /* |
| 28 | * Default Glacier2 port. Used to define '@omero.port@' if not set. |
| 29 | */ |
| 30 | const int GLACIER2PORT = 4063; |
| 31 | |
| 32 | /* |
| 33 | * Default Ice.MessageSizeMax (8192kb). Not strictly necessary, but helps to |
| 34 | * curb memory issues. |
| 35 | */ |
| 36 | const int MESSAGESIZEMAX = 8192; |
| 37 | |
| 38 | /* |
| 39 | * Default connection string for connecting to Glacier2 |
| 40 | * (Ice.Default.Router). The '@omero.port@' and '@omero.host@' values will |
| 41 | * be replaced by the properties with those names from the context. |
| 42 | */ |
| 43 | const string DEFAULTROUTER = "OMERO.Glacier2/router:tcp -p @omero.port@ -h @omero.host@"; |
| 44 | |
| 45 | /* |
| 46 | * Server-side names used for each of the services |
| 47 | * defined in API.ice |
| 48 | */ |
| 49 | const string ADMINSERVICE = "omero.api.IAdmin"; |
| 50 | const string ANALYSISSERVICE = "omero.api.IAnalysis"; |
| 51 | const string CONFIGSERVICE = "omero.api.IConfig"; |
| 52 | const string GATEWAYSERVICE = "omero.api.Gateway"; |
| 53 | const string DELETESERVICE = "omero.api.IDelete"; |
| 54 | const string LDAPSERVICE = "omero.api.ILdap"; |
| 55 | const string PIXELSSERVICE = "omero.api.IPixels"; |
| 56 | const string POJOSSERVICE = "omero.api.IPojos"; |
| 57 | const string PROJECTIONSERVICE= "omero.api.IProjection"; |
| 58 | const string QUERYSERVICE = "omero.api.IQuery"; |
| 59 | const string SESSIONSERVICE = "omero.api.ISession"; |
| 60 | const string SHARESERVICE = "omero.api.IShare"; |
| 61 | const string TIMELINESERVICE = "omero.api.ITimeline"; |
| 62 | const string TYPESSERVICE = "omero.api.ITypes"; |
| 63 | const string UPDATESERVICE = "omero.api.IUpdate"; |
| 64 | const string JOBHANDLE = "omero.api.JobHandle"; |
| 65 | const string RAWFILESTORE = "omero.api.RawFileStore"; |
| 66 | const string RAWPIXELSSTORE = "omero.api.RawPixelsStore"; |
| 67 | const string RENDERINGENGINE = "omero.api.RenderingEngine"; |
| 68 | const string SCRIPTSERVICE = "omero.api.IScript"; |
| 69 | const string SEARCH = "omero.api.Search"; |
| 70 | const string THUMBNAILSTORE = "omero.api.ThumbnailStore"; |
| 71 | const string REPOSITORYINFO = "omero.api.IRepositoryInfo"; |
| 72 | const string RENDERINGSETTINGS= "omero.api.IRenderingSettings"; |
| 73 | |
| 74 | // User context for logging in |
| 75 | const string USERNAME = "omero.user"; |
| 76 | const string PASSWORD = "omero.pass"; |
| 77 | const string GROUP = "omero.group"; |
| 78 | const string EVENT = "omero.event"; |
| 79 | const string UMASK = "omero.umask"; |
| 80 | |
| 81 | /* |
| 82 | * Strings used by the Java class ome.util.builders.PojoOptions |
| 83 | * to create Map options for IPojos methods. omero::api::IPojos |
| 84 | * takes omero::sys::ParamMaps instead. |
| 85 | * |
| 86 | * See System.ice and RTypes.ice. |
| 87 | */ |
| 88 | const string POJOLEAVES = "leaves"; // omero::RBool (whether or not Images returned) |
| 89 | const string POJOEXPERIMENTER = "experimenter"; // omero::RLong |
| 90 | const string POJOGROUP = "group"; // omero::RLong |
| 91 | const string POJOLIMIT = "limit"; // omero::RInt |
| 92 | const string POJOOFFSET = "offset"; // omero::RInt |
| 93 | const string POJOSTARTTIME = "startTime"; // omero::RTime |
| 94 | const string POJOENDTIME = "endTime"; // omero::RTime |
| 95 | /* |
| 96 | * Used by IPojos.findCGCPaths(...,string algo,...) |
| 97 | */ |
| 98 | const string CLASSIFICATIONME = "CLASSIFICATION_ME"; |
| 99 | const string CLASSIFICATIONNME = "CLASSIFICATION_NME"; |
| 100 | const string DECLASSIFICATION = "DECLASSIFICATION"; |
| 101 | |
| 102 | module jobs { |
| 103 | |
| 104 | /* |
| 105 | * Used by JobHandle as the status of jobs |
| 106 | */ |
| 107 | const string SUBMITTED = "Submitted"; |
| 108 | const string RESUBMITTED = "Resubmitted"; |
| 109 | const string QUEUED = "Queued"; |
| 110 | const string REQUEUED = "Requeued"; |
| 111 | const string RUNNING = "Running"; |
| 112 | const string ERROR = "Error"; |
| 113 | const string WAITING = "Waiting"; |
| 114 | const string FINISHED = "Finished"; |
| 115 | const string CANCELLED = "Cancelled"; |
| 116 | |
| 117 | }; |
| 118 | |
| 119 | module projection { |
| 120 | /* |
| 121 | * Methodology strings |
| 122 | */ |
| 123 | const string MAXIMUMINTENSITYMETHODOLOGY = "MAXIMUM_INTENSITY_PROJECTION"; |
| 124 | const string MEANINTENSITYMETHODOLOGY = "MEAN_INTENSITY_PROJECTION"; |
| 125 | const string SUMINTENSITYMETHODOLOGY = "SUM_INTENSITY_PROJECTION"; |
| 126 | |
| 127 | /* |
| 128 | * Used by the IProjection methods to declare which projection to perform. |
| 129 | */ |
| 130 | enum ProjectionType { |
| 131 | MAXIMUMINTENSITY, |
| 132 | MEANINTENSITY, |
| 133 | SUMINTENSITY |
| 134 | }; |
| 135 | }; |
| 136 | }; |
| 137 | }; |
| 138 | |
| 139 | #endif |
Note: See TracBrowser
for help on using the browser.
