Mercurial > hg > Members > nobuyasu > tightVNCProxy
diff src/RfbProto.java @ 7:d759a2ab6a7a
upload MyRfbProto
author | e085711 |
---|---|
date | Sat, 16 Apr 2011 00:15:44 +0900 |
parents | 10dbc0e61adf |
children | 67caa17deb6f |
line wrap: on
line diff
--- a/src/RfbProto.java Fri Apr 15 18:30:36 2011 +0900 +++ b/src/RfbProto.java Sat Apr 16 00:15:44 2011 +0900 @@ -120,8 +120,10 @@ // Input stream is declared private to make sure it can be accessed // only via RfbProto methods. We have to do this because we want to // count how many bytes were read. - private DataInputStream is; - private long numBytesRead = 0; +// private DataInputStream is; + protected DataInputStream is; +// private long numBytesRead = 0; + protected long numBytesRead = 0; public long getNumBytesRead() { return numBytesRead; @@ -174,7 +176,8 @@ CapsContainer encodingCaps; // If true, informs that the RFB socket was closed. - private boolean closed; +// private boolean closed; + protected boolean closed; // // Constructor. Make TCP connection to RFB server. @@ -1373,8 +1376,4 @@ void reset() throws IOException { is.reset(); } - - final boolean markSupported() { - return is.markSupported(); - } }