Mercurial > 510Connectbot
comparison app/src/main/java/com/five_ten_sg/connectbot/transport/AbsTransport.java @ 496:f698820bffdf
add socket2 monitor protocol
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 05 Jun 2022 14:46:41 -0700 |
parents | d29cce60f393 |
children |
comparison
equal
deleted
inserted
replaced
495:c7a947e291db | 496:f698820bffdf |
---|---|
53 // monitor injecting a field | 53 // monitor injecting a field |
54 //@Override | 54 //@Override |
55 //public void setField(int l, int c, char [] data) | 55 //public void setField(int l, int c, char [] data) |
56 // implementation in the base vt320 | 56 // implementation in the base vt320 |
57 | 57 |
58 // monitor simulating function key depress | |
59 //@Override | |
60 //public void keyDepressed(int keyCode) { | |
61 // implementation in the base vt320 | |
62 | |
63 // monitor simulating ascii key depress | |
64 //@Override | |
65 //public void keyUnicodeDepressed(int keyCode) { | |
66 // implementation in the base vt320 | |
67 | |
58 // terminal key listener found special key, send notification to monitor | 68 // terminal key listener found special key, send notification to monitor |
59 @Override | 69 @Override |
60 public void monitorKey(boolean down) { | 70 public void monitorKey(boolean down) { |
61 if (bridge.monitor != null) bridge.monitor.keyState(down); | 71 if (bridge.monitor != null) bridge.monitor.keyState(down); |
62 } | 72 } |