comparison src/com/five_ten_sg/connectbot/bean/HostBean.java @ 88:1c22e6a7efff

convert ctrl keys to virtual keys; use proper android home directory
author Carl Byington <carl@five-ten-sg.com>
date Mon, 16 Jun 2014 12:26:51 -0700
parents 4ccfde0bc506
children 6969d6cebcd7
comparison
equal deleted inserted replaced
87:1bc2229562f8 88:1c22e6a7efff
72 this.hostname = hostname; 72 this.hostname = hostname;
73 this.port = port; 73 this.port = port;
74 } 74 }
75 75
76 public boolean isSSH() { 76 public boolean isSSH() {
77 return (protocol == "ssh"); 77 return protocol.equals("ssh");
78 } 78 }
79 79
80 public boolean is5250() { 80 public boolean is5250() {
81 return (protocol == "tn5250"); 81 return protocol.equals("tn5250");
82 } 82 }
83 83
84 public boolean isTelnet() { 84 public boolean isTelnet() {
85 return (protocol == "telnet"); 85 return protocol.equals("telnet");
86 } 86 }
87 87
88 public boolean isAsync() { 88 public boolean isAsync() {
89 return isSSH() || isTelnet(); 89 return isSSH() || isTelnet();
90 } 90 }