comparison src/org/tn5250j/framework/tn5250/tnvt.java @ 69:294435151b0c tn5250

use 5250 encryption config entry
author Carl Byington <carl@five-ten-sg.com>
date Fri, 13 Jun 2014 19:06:01 -0700
parents 7ac846a07ed4
children 7ae9b0c382ec
comparison
equal deleted inserted replaced
68:cc7e3588a0f3 69:294435151b0c
263 return connect(hostname, port); 263 return connect(hostname, port);
264 264
265 } 265 }
266 266
267 267
268 public final boolean connect(String hostname, int port) { 268 public final boolean connect(String hostname, int port, vt320 buffer) {
269 try { 269 try {
270 this.hostname = hostname; 270 this.hostname = hostname;
271 this.port = port; 271 this.port = port;
272 272
273 try { 273 try {
306 } catch (Exception excc) { 306 } catch (Exception excc) {
307 Log.w(TAG,"setCursorOff " + excc.getMessage()); 307 Log.w(TAG,"setCursorOff " + excc.getMessage());
308 308
309 } 309 }
310 310
311 producer = new DataStreamProducer(this, bin, dsq, abyte0); 311 producer = new DataStreamProducer(this, bin, buffer, dsq, abyte0);
312 pthread = new Thread(producer); 312 pthread = new Thread(producer);
313 // pthread.setPriority(pthread.MIN_PRIORITY); 313 // pthread.setPriority(pthread.MIN_PRIORITY);
314 pthread.setPriority(Thread.NORM_PRIORITY); 314 pthread.setPriority(Thread.NORM_PRIORITY);
315 // pthread.setPriority(Thread.NORM_PRIORITY / 2); 315 // pthread.setPriority(Thread.NORM_PRIORITY / 2);
316 pthread.start(); 316 pthread.start();