Mercurial > hg > Members > nobuyasu > tightVNCProxy
comparison src/myVncProxy/ZlibInStream.java @ 129:0571d955da35
print connection speed.
author | e085711 |
---|---|
date | Thu, 04 Aug 2011 15:11:30 +0900 |
parents | 87b29d6039a6 |
children | c3ae65fea76a |
comparison
equal
deleted
inserted
replaced
96:f0790bcf000d | 129:0571d955da35 |
---|---|
50 } | 50 } |
51 underlying = null; | 51 underlying = null; |
52 } | 52 } |
53 | 53 |
54 public int pos() { return ptrOffset + ptr; } | 54 public int pos() { return ptrOffset + ptr; } |
55 | 55 |
56 | 56 |
57 protected int overrun(int itemSize, int nItems) throws Exception { | 57 protected int overrun(int itemSize, int nItems) throws Exception { |
58 if (itemSize > bufSize) | 58 if (itemSize > bufSize) |
59 throw new Exception("ZlibInStream overrun: max itemSize exceeded"); | 59 throw new Exception("ZlibInStream overrun: max itemSize exceeded"); |
60 if (underlying == null) | 60 if (underlying == null) |