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

Context Navigation

  • ← Previous Changeset
  • Next Changeset →

Changeset 5672

Show
Ignore:
Timestamp:
10/09/08 16:12:41 (6 weeks ago)
Author:
jburel
Message:

Fixed problem while trying to reconnect

Location:
trunk/SRC/org/openmicroscopy/shoola/env/data
Files:
2 modified

  • DataServicesFactory.java (modified) (1 diff)
  • OMEROGateway.java (modified) (4 diffs)

Legend:

Unmodified
Added
Removed
  • trunk/SRC/org/openmicroscopy/shoola/env/data/DataServicesFactory.java

    r5670 r5672  
    213213                        omeroGateway.reconnect(uc.getUserName(), uc.getPassword()); 
    214214                        } catch (Exception e) { 
     215                                e.printStackTrace(); 
    215216                                UserNotifier un = registry.getUserNotifier(); 
    216217                                un.notifyInfo("Reconnect", "An error while trying to " + 
  • trunk/SRC/org/openmicroscopy/shoola/env/data/OMEROGateway.java

    r5670 r5672  
    230230        private int                                             port; 
    231231         
     232        /** The port to connect. */ 
     233        private String                                  hostName; 
     234         
    232235        /**  
    233236         * The Blitz client object, this is the entry point to the  
    … …  
    10381041                        blitzClient = new client(iceConfig); 
    10391042                        */ 
     1043                        this.hostName = hostName; 
    10401044                        if (port > 0) blitzClient = new client(hostName, port); 
    10411045                        else blitzClient = new client(hostName); 
    … …  
    10501054                }  
    10511055        } 
    1052  
     1056         
    10531057        /**  
    10541058         * Tries to reconnect to the server. 
    … …  
    10661070                        thumbRetrieval = 0; 
    10671071                        fileStore = null; 
    1068                         blitzClient = new client(iceConfig); 
     1072                        if (port > 0) blitzClient = new client(hostName, port); 
     1073                        else blitzClient = new client(hostName); 
    10691074                        entry = blitzClient.createSession(userName, password); 
    10701075                        connected = true; 

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/