Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/transport/TN5250.java @ 91:33eb63352be5
remove 5250 configuration
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 16 Jun 2014 16:17:48 -0700 |
parents | 1bc2229562f8 |
children | 171e0a977544 |
comparison
equal
deleted
inserted
replaced
90:3f587bd647a5 | 91:33eb63352be5 |
---|---|
253 public void connect() { | 253 public void connect() { |
254 screen52 = new Screen5250(); | 254 screen52 = new Screen5250(); |
255 handler = new tnvt(screen52, true, false, bridge, manager); | 255 handler = new tnvt(screen52, true, false, bridge, manager); |
256 String encryption = host.getEncryption5250(); | 256 String encryption = host.getEncryption5250(); |
257 if ((encryption == null) || (encryption.length() == 0)) encryption = "NONE"; | 257 if ((encryption == null) || (encryption.length() == 0)) encryption = "NONE"; |
258 handler.setSSLType(encryption); | |
259 screen52.setVT(handler); | 258 screen52.setVT(handler); |
260 screen52.setBuffer(buffer); | 259 screen52.setBuffer(buffer); |
261 connected = handler.connect(host.getHostname(), host.getPort(), buffer); | 260 connected = handler.connect(host.getHostname(), host.getPort(), encryption, homeDirectory, buffer); |
262 if (connected) bridge.onConnected(); | 261 if (connected) bridge.onConnected(); |
263 } | 262 } |
264 | 263 |
265 | 264 |
266 /** | 265 /** |