• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 2593 for trunk/components/blitz/resources/omero/API.ice

Show
Ignore:
Timestamp:
07/05/08 22:16:05 (5 months ago)
Author:
jmoore
Message:

ticket:1018 - Second attempt at improving OmeroSessions in blitz

This tries to keep up with an individual client via a uuid set
on the client side. This may also be sub-optimal. A better idea
may be using individual ServiceFactory instances which talk to
the same session (in which case only the SessionManager? need be
distributed)

Files:
1 modified

  • trunk/components/blitz/resources/omero/API.ice (modified) (1 diff)

Legend:

Unmodified
Added
Removed
  • trunk/components/blitz/resources/omero/API.ice

    r2522 r2593  
    596596 
    597597        /* 
    598          * Closes the service factory and all related services. 
    599          */ 
    600         void close(); 
     598         * Deprecated misnomer. 
     599         */ 
     600        ["deprecated:close() is deprecated. use closeOnDestroy() instead."] void close(); 
     601 
     602        /* 
     603         * Marks the session for closure rather than detachment, which will 
     604         * be triggered by the destruction of the Glacier2 connection via 
     605         * router.destroySession() 
     606         * 
     607         * Closing the session rather the detaching is more secure, since all 
     608         * resources are removed from the server and can safely be set once 
     609         * it is clear that a client is finished with those resources. 
     610         */ 
     611        void closeOnDestroy(); 
     612 
     613        /* 
     614         * Marks the session for detachment rather than closure, which will 
     615         * be triggered by the destruction of the Glacier2 connection via 
     616         * router.destroySession() 
     617         * 
     618         * This is the default and allows a lost session to be reconnected, 
     619         * at a slight security cost since the session will persist longer 
     620         * and can be used by others if the UUID is intercepted. 
     621         */ 
     622        void detachOnDestroy(); 
    601623 
    602624        // Session management 
    603          
     625 
    604626        /* 
    605627         * Returns a list of string ids for currently active services. This will 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/