Mercurial > 510Connectbot
diff src/org/tn5250j/framework/tn5250/tnvt.java @ 91:33eb63352be5
remove 5250 configuration
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 16 Jun 2014 16:17:48 -0700 |
parents | 7ae9b0c382ec |
children | 5e52fa030308 eda03b809f48 |
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/tnvt.java Mon Jun 16 12:34:05 2014 -0700 +++ b/src/org/tn5250j/framework/tn5250/tnvt.java Mon Jun 16 16:17:48 2014 -0700 @@ -217,10 +217,6 @@ return hostname; } - public void setSSLType(String type) { - sslType = type; - } - public void setDeviceName(String name) { devName = name; } @@ -260,7 +256,7 @@ Log.i(TAG," socks set "); } - public final boolean connect(String hostname, int port, vt320 buffer) { + public final boolean connect(String hostname, int port, String encryption, String homeDirectory, vt320 buffer) { try { this.hostname = hostname; this.port = port; @@ -273,8 +269,7 @@ } SocketConnector sc = new SocketConnector(); - if (sslType != null) sc.setSSLType(sslType); - sock = sc.createSocket(hostname, port, bridge, manager); + sock = sc.createSocket(hostname, port, encryption, homeDirectory, bridge, manager); if (sock == null) { Log.w(TAG,"I did not get a socket");