Changeset 5672
- Timestamp:
- 10/09/08 16:12:41 (6 weeks ago)
- 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 213 213 omeroGateway.reconnect(uc.getUserName(), uc.getPassword()); 214 214 } catch (Exception e) { 215 e.printStackTrace(); 215 216 UserNotifier un = registry.getUserNotifier(); 216 217 un.notifyInfo("Reconnect", "An error while trying to " + -
trunk/SRC/org/openmicroscopy/shoola/env/data/OMEROGateway.java
r5670 r5672 230 230 private int port; 231 231 232 /** The port to connect. */ 233 private String hostName; 234 232 235 /** 233 236 * The Blitz client object, this is the entry point to the … … 1038 1041 blitzClient = new client(iceConfig); 1039 1042 */ 1043 this.hostName = hostName; 1040 1044 if (port > 0) blitzClient = new client(hostName, port); 1041 1045 else blitzClient = new client(hostName); … … 1050 1054 } 1051 1055 } 1052 1056 1053 1057 /** 1054 1058 * Tries to reconnect to the server. … … 1066 1070 thumbRetrieval = 0; 1067 1071 fileStore = null; 1068 blitzClient = new client(iceConfig); 1072 if (port > 0) blitzClient = new client(hostName, port); 1073 else blitzClient = new client(hostName); 1069 1074 entry = blitzClient.createSession(userName, password); 1070 1075 connected = true;
