Changeset 611
- Timestamp:
- 01/15/10 23:31:04 (2 years ago)
- Location:
- trunk/LogicMail/src/org/logicprobe/LogicMail
- Files:
-
- 2 edited
-
conf/GlobalConfig.java (modified) (1 diff)
-
util/ConnectionBB42.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LogicMail/src/org/logicprobe/LogicMail/conf/GlobalConfig.java
r608 r611 385 385 } 386 386 } 387 value = table.get(" account_transportType");387 value = table.get("global_transportType"); 388 388 if(value instanceof Integer) { 389 389 transportType = ((Integer)value).intValue(); 390 390 } 391 value = table.get(" account_enableWiFi");391 value = table.get("global_enableWiFi"); 392 392 if(value instanceof Boolean) { 393 393 enableWiFi = ((Boolean)value).booleanValue(); -
trunk/LogicMail/src/org/logicprobe/LogicMail/util/ConnectionBB42.java
r610 r611 52 52 protected boolean coverageTCP=false, coverageMDS=false, coverageWAP2=false, coverageWiFi=false; 53 53 54 private int transportSelection = TRANSPORT_AUTO;55 56 54 /** 57 55 * Initializes a new connection object. … … 75 73 76 74 StreamConnection connection = null; 77 if((transport Selection& TRANSPORT_WIFI) != 0 && srWiFi != null && coverageWiFi) {75 if((transports & TRANSPORT_WIFI) != 0 && srWiFi != null && coverageWiFi) { 78 76 connection = attemptWiFi(urlBase); 79 77 } 80 if(connection == null && (transport Selection& TRANSPORT_DIRECT_TCP) != 0 && coverageTCP) {78 if(connection == null && (transports & TRANSPORT_DIRECT_TCP) != 0 && coverageTCP) { 81 79 connection = attemptDirectTCP(urlBase); 82 80 } 83 if(connection == null && (transport Selection& TRANSPORT_MDS) != 0 && srMDS != null && coverageMDS) {81 if(connection == null && (transports & TRANSPORT_MDS) != 0 && srMDS != null && coverageMDS) { 84 82 connection = attemptMDS(urlBase); 85 83 } 86 if(connection == null && (transport Selection& TRANSPORT_WAP2) != 0 && srWAP2 != null && coverageWAP2) {84 if(connection == null && (transports & TRANSPORT_WAP2) != 0 && srWAP2 != null && coverageWAP2) { 87 85 connection = attemptWAP2(urlBase); 88 86 }
Note: See TracChangeset
for help on using the changeset viewer.
