diff src/org/tn5250j/framework/tn5250/tnvt.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 7ac846a07ed4
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/tnvt.java	Tue Jun 10 15:57:42 2014 -0700
+++ b/src/org/tn5250j/framework/tn5250/tnvt.java	Tue Jun 10 16:14:36 2014 -0700
@@ -266,24 +266,6 @@
 
 
     public final boolean connect(String hostname, int port) {
-
-        //// We will now see if there are any bypass signon parameters to be
-        ////    processed. The system properties override these parameters so
-        ////    have precidence if specified.
-        //Properties props = controller.getConnectionProperties();
-        //if (user == null && props.containsKey("SESSION_CONNECT_USER")) {
-        //  user = props.getProperty("SESSION_CONNECT_USER");
-        //  Log.i(TAG," user -> " + user + " " + controller.getSessionName());
-        //  if (props.containsKey("SESSION_CONNECT_PASSWORD"))
-        //      password = props.getProperty("SESSION_CONNECT_PASSWORD");
-        //  if (props.containsKey("SESSION_CONNECT_LIBRARY"))
-        //      library = props.getProperty("SESSION_CONNECT_LIBRARY");
-        //  if (props.containsKey("SESSION_CONNECT_MENU"))
-        //      initialMenu = props.getProperty("SESSION_CONNECT_MENU");
-        //  if (props.containsKey("SESSION_CONNECT_PROGRAM"))
-        //      program = props.getProperty("SESSION_CONNECT_PROGRAM");
-        //}
-
         try {
             this.hostname = hostname;
             this.port     = port;
@@ -295,8 +277,6 @@
                 Log.w(TAG,"setStatus(ON) " + exc.getMessage());
             }
 
-            //         sock = new Socket(s, port);
-            //smk - For SSL compability
             SocketConnector sc = new SocketConnector();
             if (sslType != null) sc.setSSLType(sslType);
             sock = sc.createSocket(hostname, port, bridge, manager);