comparison src/main/java/jp/ac/u_ryukyu/treevnc/MyRfbProto.java @ 138:c3761c896607

minor fix
author oc
date Tue, 10 Jun 2014 13:15:59 +0900
parents ada4d850a820
children 4547543ca73c
comparison
equal deleted inserted replaced
137:41f049cebcb5 138:c3761c896607
40 public int acceptPort = 0; 40 public int acceptPort = 0;
41 protected boolean readyReconnect = false; 41 protected boolean readyReconnect = false;
42 private boolean cuiVersion; 42 private boolean cuiVersion;
43 private long counter = 0; // packet serial number 43 private long counter = 0; // packet serial number
44 TreeVncProtocol treeProtocol; 44 TreeVncProtocol treeProtocol;
45 public TReeVNCCommand treeVncCommand; 45 public TreeVncCommand treeVncCommand;
46 public ServerSocket servSock; 46 public ServerSocket servSock;
47 private boolean permitChangeScreen = true; 47 private boolean permitChangeScreen = true;
48 private static final int INFLATE_BUFSIZE = 1024 * 100; 48 private static final int INFLATE_BUFSIZE = 1024 * 100;
49 49
50 private Inflater inflater = new Inflater(); 50 private Inflater inflater = new Inflater();
56 rThread = new RequestScreenThread(this); 56 rThread = new RequestScreenThread(this);
57 } 57 }
58 58
59 public void setVncProxy(VncProxyService viewer) { 59 public void setVncProxy(VncProxyService viewer) {
60 this.viewer = viewer; 60 this.viewer = viewer;
61 treeVncCommand = new TReeVNCCommand(viewer,this,treeProtocol); 61 treeVncCommand = new TreeVncCommand(viewer,this,treeProtocol);
62 } 62 }
63 63
64 abstract public boolean isRoot() ; 64 abstract public boolean isRoot() ;
65 65
66 public boolean initialConnection(final Writer os, final Reader is) 66 public boolean initialConnection(final Writer os, final Reader is)