Mercurial > hg > Applications > TreeVNC
diff src/main/java/jp/ac/u_ryukyu/treevnc/MyRfbProto.java @ 103:84f254d8bde4
remove isinstaceof
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 23 May 2014 02:20:05 +0900 |
parents | 1f7ee648e1f6 |
children | 660b296d4f75 |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/MyRfbProto.java Fri May 23 01:45:06 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/MyRfbProto.java Fri May 23 02:20:05 2014 +0900 @@ -22,10 +22,9 @@ public class MyRfbProto { final static int FramebufferUpdateRequest = 3; final static int CheckDelay = 11; - final static int FramebufferUpdate = 0; + protected final static int FramebufferUpdate = 0; private ProtocolContext context; - //final static String versionMsg_3_855 = "RFB 003.855\n"; - final static String versionMsg_3_856 = "RFB 003.856\n"; + protected final static String versionMsg_3_856 = "RFB 003.856\n"; private int clients; public MulticastQueue<LinkedList<ByteBuffer>> multicastqueue = new MulticastQueue<LinkedList<ByteBuffer>>(); private RequestScreenThread rThread; @@ -42,6 +41,9 @@ rThread = new RequestScreenThread(this); } + public boolean isRoot() { + return false; + } public void newClient(AcceptThread acceptThread, final Socket newCli, final Writer os, final Reader is) throws IOException {