comparison src/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 43:6b0f1ece1d91 tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Wed, 11 Jun 2014 09:29:22 -0700
parents 0ce5cc452d02
children 294435151b0c
comparison
equal deleted inserted replaced
42:7ac846a07ed4 43:6b0f1ece1d91
292 public synchronized void activate() { 292 public synchronized void activate() {
293 sendScreen(MONITOR_CMD_ACTIVATE); 293 sendScreen(MONITOR_CMD_ACTIVATE);
294 } 294 }
295 295
296 public synchronized void hostData(byte[] b) { 296 public synchronized void hostData(byte[] b) {
297 if (b == null) return;
297 for (int i = 0; i < b.length; i++) { 298 for (int i = 0; i < b.length; i++) {
298 hostData((int)b[i] & 0xff); 299 hostData((int)b[i] & 0xff);
299 } 300 }
300 } 301 }
301 302