diff 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
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/tnvt.java	Fri Jun 13 16:24:59 2014 -0700
+++ b/src/org/tn5250j/framework/tn5250/tnvt.java	Fri Jun 13 19:06:01 2014 -0700
@@ -265,7 +265,7 @@
     }
 
 
-    public final boolean connect(String hostname, int port) {
+    public final boolean connect(String hostname, int port, vt320 buffer) {
         try {
             this.hostname = hostname;
             this.port     = port;
@@ -308,7 +308,7 @@
 
             }
 
-            producer = new DataStreamProducer(this, bin, dsq, abyte0);
+            producer = new DataStreamProducer(this, bin, buffer, dsq, abyte0);
             pthread = new Thread(producer);
             //         pthread.setPriority(pthread.MIN_PRIORITY);
             pthread.setPriority(Thread.NORM_PRIORITY);