changeset 30:d738f6b876fe tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Tue, 03 Jun 2014 16:05:21 -0700
parents 017eeed8332c
children 139394237973
files src/com/five_ten_sg/connectbot/transport/AbsTransport.java src/com/five_ten_sg/connectbot/transport/TN5250.java
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/AbsTransport.java	Tue Jun 03 16:02:29 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/transport/AbsTransport.java	Tue Jun 03 16:05:21 2014 -0700
@@ -302,7 +302,7 @@
     /**
      * @return a key listener
      */
-    public TerminalKeyListener(TerminalManager manager, TerminalBridge bridge, vt320 buffer, String encoding) {
+    public TerminalKeyListener getTerminalKeyListener(TerminalManager manager, TerminalBridge bridge, vt320 buffer, String encoding) {
         return new TerminalKeyListener(manager, bridge, buffer, encoding);
     }
 
--- a/src/com/five_ten_sg/connectbot/transport/TN5250.java	Tue Jun 03 16:02:29 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/transport/TN5250.java	Tue Jun 03 16:05:21 2014 -0700
@@ -128,7 +128,7 @@
     */
    @Override
    public void connect() {
-        screen52  = new Screen5250;
+        screen52  = new Screen5250();
         handler   = new tnvt(screen52, true, false, bridge, manager);
         connected = handler.connect(host.getHostname(), host.getPort());
         if (connected) bridge.onConnected();
@@ -422,7 +422,7 @@
 
 
     @Override
-    public TerminalKeyListener(TerminalManager manager, TerminalBridge bridge, vt320 buffer, String encoding) {
+    public TerminalKeyListener getTerminalKeyListener(TerminalManager manager, TerminalBridge bridge, vt320 buffer, String encoding) {
         return new TerminalKeyListener(manager, bridge, buffer, encoding);
     }