Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/transport/AbsTransport.java @ 91:33eb63352be5
remove 5250 configuration
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 16 Jun 2014 16:17:48 -0700 |
parents | 294435151b0c |
children | 9204fe526e65 |
comparison
equal
deleted
inserted
replaced
90:3f587bd647a5 | 91:33eb63352be5 |
---|---|
37 */ | 37 */ |
38 public abstract class AbsTransport { | 38 public abstract class AbsTransport { |
39 protected String TAG; | 39 protected String TAG; |
40 protected TerminalManager manager; | 40 protected TerminalManager manager; |
41 protected TerminalBridge bridge; | 41 protected TerminalBridge bridge; |
42 protected String homeDirectory; | |
42 protected HostBean host; | 43 protected HostBean host; |
43 protected vt320 buffer = null; | 44 protected vt320 buffer = null; |
44 protected String emulation; | 45 protected String emulation; |
45 | 46 |
46 class vt320Default extends vt320 { | 47 class vt320Default extends vt320 { |
255 public vt320 getTransportBuffer() { | 256 public vt320 getTransportBuffer() { |
256 buffer = new vt320Default(); | 257 buffer = new vt320Default(); |
257 return setupTransportBuffer(); | 258 return setupTransportBuffer(); |
258 } | 259 } |
259 | 260 |
260 public void setLinks(TerminalManager manager, TerminalBridge bridge, HostBean host, String emulation) { | 261 public void setLinks(TerminalManager manager, TerminalBridge bridge, String homeDirectory, HostBean host, String emulation) { |
261 this.manager = manager; | 262 this.manager = manager; |
262 this.bridge = bridge; | 263 this.bridge = bridge; |
263 this.host = host; | 264 this.homeDirectory = homeDirectory; |
264 this.emulation = emulation; | 265 this.host = host; |
266 this.emulation = emulation; | |
265 } | 267 } |
266 | 268 |
267 /** | 269 /** |
268 * Whether or not this transport type can forward ports. | 270 * Whether or not this transport type can forward ports. |
269 * @return true on ability to forward ports | 271 * @return true on ability to forward ports |