Changeset 612
- Timestamp:
- 01/16/10 00:18:05 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LogicMail/src/org/logicprobe/LogicMail/util/ConnectionBB42.java
r611 r612 73 73 74 74 StreamConnection connection = null; 75 if(( transports & TRANSPORT_WIFI) != 0&& srWiFi != null && coverageWiFi) {75 if(((transports & TRANSPORT_WIFI) != 0) && srWiFi != null && coverageWiFi) { 76 76 connection = attemptWiFi(urlBase); 77 77 } 78 if(connection == null && ( transports & TRANSPORT_DIRECT_TCP) != 0&& coverageTCP) {78 if(connection == null && ((transports & TRANSPORT_DIRECT_TCP) != 0) && coverageTCP) { 79 79 connection = attemptDirectTCP(urlBase); 80 80 } 81 if(connection == null && ( transports & TRANSPORT_MDS) != 0&& srMDS != null && coverageMDS) {81 if(connection == null && ((transports & TRANSPORT_MDS) != 0) && srMDS != null && coverageMDS) { 82 82 connection = attemptMDS(urlBase); 83 83 } 84 if(connection == null && ( transports & TRANSPORT_WAP2) != 0&& srWAP2 != null && coverageWAP2) {84 if(connection == null && ((transports & TRANSPORT_WAP2) != 0) && srWAP2 != null && coverageWAP2) { 85 85 connection = attemptWAP2(urlBase); 86 86 } … … 116 116 srWAP2 = myRecord; 117 117 } 118 } 118 } 119 119 } 120 120 121 121 initializeCoverage(); 122 123 if (EventLogger.getMinimumLevel() >= EventLogger.DEBUG_INFO) { 124 StringBuffer buf = new StringBuffer(); 125 buf.append("Availability: "); 126 buf.append("MDS="); buf.append(srMDS != null); 127 buf.append(", WAP2="); buf.append(srWAP2 != null); 128 buf.append(", WiFi="); buf.append(srWiFi != null); 129 buf.append("\r\n"); 130 buf.append("Coverage: "); 131 buf.append("TCP="); buf.append(coverageTCP); 132 buf.append(", MDS="); buf.append(coverageMDS); 133 buf.append(", WAP2="); buf.append(coverageWAP2); 134 buf.append(", WiFi="); buf.append(coverageWiFi); 135 EventLogger.logEvent(AppInfo.GUID, buf.toString().getBytes(), 136 EventLogger.DEBUG_INFO); 137 } 122 138 } 123 139
Note: See TracChangeset
for help on using the changeset viewer.
