comparison src/main/java/jp/ac/u_ryukyu/treevnc/server/MyRfbProtoProxy.java @ 23:6a4312344a5a

remove set rfb TreeTask
author one
date Thu, 30 Aug 2012 14:40:32 +0900
parents bfddb801c3aa
children 73b13bc335c2
comparison
equal deleted inserted replaced
21:bfddb801c3aa 23:6a4312344a5a
78 rThread = new RequestScreenThread(this); 78 rThread = new RequestScreenThread(this);
79 requestThread = new Thread(rThread); 79 requestThread = new Thread(rThread);
80 } 80 }
81 81
82 public void setStream(Writer _writer) { 82 public void setStream(Writer _writer) {
83 os = _writer; 83 // os = _writer;
84 } 84 }
85 85
86 void initServSock(int port) throws IOException { 86 void initServSock(int port) throws IOException {
87 servSock = new ServerSocket(port); 87 servSock = new ServerSocket(port);
88 acceptPort = port; 88 acceptPort = port;
771 b[6] = (byte) ((w >> 8) & 0xff); 771 b[6] = (byte) ((w >> 8) & 0xff);
772 b[7] = (byte) (w & 0xff); 772 b[7] = (byte) (w & 0xff);
773 b[8] = (byte) ((h >> 8) & 0xff); 773 b[8] = (byte) ((h >> 8) & 0xff);
774 b[9] = (byte) (h & 0xff); 774 b[9] = (byte) (h & 0xff);
775 775
776 os.write(b); 776 // os.write(b);
777 } 777 }
778 778
779 public void setProtocolContext(Protocol workingProtocol) { 779 public void setProtocolContext(Protocol workingProtocol) {
780 context = workingProtocol; 780 context = workingProtocol;
781 } 781 }