comparison src/com/five_ten_sg/connectbot/transport/TN5250.java @ 37:0395ca628303 tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Tue, 10 Jun 2014 16:14:36 -0700
parents b086dd794dba
children 6b0f1ece1d91
comparison
equal deleted inserted replaced
36:bcadd92f5e0a 37:0395ca628303
126 */ 126 */
127 @Override 127 @Override
128 public void connect() { 128 public void connect() {
129 screen52 = new Screen5250(); 129 screen52 = new Screen5250();
130 handler = new tnvt(screen52, true, false, bridge, manager); 130 handler = new tnvt(screen52, true, false, bridge, manager);
131 handler.setSSLType("TLS");
131 screen52.setVT(handler); 132 screen52.setVT(handler);
132 screen52.setBuffer(buffer); 133 screen52.setBuffer(buffer);
133 connected = handler.connect(host.getHostname(), host.getPort()); 134 connected = handler.connect(host.getHostname(), host.getPort());
134 if (connected) bridge.onConnected(); 135 if (connected) bridge.onConnected();
135 } 136 }