Mercurial > hg > Members > nobuyasu > tightVNCProxy
changeset 58:39741f18b4f2
modify MyRfbProto.java. remove unnecessary method
author | e085711 |
---|---|
date | Fri, 08 Jul 2011 18:20:35 +0900 |
parents | a60ec7414931 |
children | 3ccedb44aaa0 |
files | src/myVncProxy/MyRfbProto.java |
diffstat | 1 files changed, 4 insertions(+), 27 deletions(-) [+] |
line wrap: on
line diff
--- a/src/myVncProxy/MyRfbProto.java Fri Jul 08 18:07:07 2011 +0900 +++ b/src/myVncProxy/MyRfbProto.java Fri Jul 08 18:20:35 2011 +0900 @@ -252,21 +252,6 @@ os.write(initData); } - void sendData(byte b[]) { - try { - multicastqueue.put(b); - - /* - * // for(Socket cli : cliList){ // try{ // - * cli.getOutputStream().write(b, 0, b.length); // - * }catch(IOException e){ // // if socket closed // - * cliList.remove(cli); // } // } - */ - // System.out.println("cliSize="+cliSize()); - } catch (Exception e) { - } - } - void sendPngImage() { try { for (Socket cli : cliListTmp) { @@ -297,21 +282,13 @@ System.out.println("numBytesRead=" + numBytesRead); } - void bufResetSend(int size) throws IOException { - reset(); - int len = size; - if (available() < size) - len = available(); - byte buffer[] = new byte[len]; - readFully(buffer); - sendData(buffer); - } - void readSendData() throws IOException { byte buffer[] = new byte[dataLen]; readFully(buffer); reset(); - + multicastqueue.put(buffer); +/* + for (Socket cli : cliList) { try { OutputStream out = cli.getOutputStream(); @@ -322,8 +299,8 @@ } catch (Exception e) { } - } +*/ } void regiFramebufferUpdate() throws IOException {