comparison src/com/five_ten_sg/connectbot/transport/TN5250.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 0395ca628303
children 80dcebe51af2
comparison
equal deleted inserted replaced
42:7ac846a07ed4 43:6b0f1ece1d91
61 static final Pattern hostmask; 61 static final Pattern hostmask;
62 static { 62 static {
63 hostmask = Pattern.compile("^([0-9a-z.-]+)(:(\\d+))?$", Pattern.CASE_INSENSITIVE); 63 hostmask = Pattern.compile("^([0-9a-z.-]+)(:(\\d+))?$", Pattern.CASE_INSENSITIVE);
64 } 64 }
65 65
66 class Terminal5250KeyListener extends TerminalKeyListener {
67
68 };
66 69
67 public TN5250() { 70 public TN5250() {
68 super(); 71 super();
69 } 72 }
70 73
306 public boolean needsRelay() { 309 public boolean needsRelay() {
307 // we don't use a relay thread between the transport and the vt320 buffer 310 // we don't use a relay thread between the transport and the vt320 buffer
308 return false; 311 return false;
309 } 312 }
310 313
314 public TerminalKeyListener getTerminalKeyListener() {
315 return new Terminal5250KeyListener(manager, bridge, buffer, host.getEncoding());
316 }
317
311 } 318 }