@Override public int read() throws IOException { int read = inputStream.read(); if (read != -1) { sendNotificationUpdate(1); } return read; }
@Override public int read(byte[] b) throws IOException { int read = inputStream.read(b); if (read != -1) { sendNotificationUpdate(read); } return read; }
@Override public int read(byte[] b, int off, int len) throws IOException { int read = inputStream.read(b, off, len); if (read != -1) { sendNotificationUpdate(read); } return read; }
@Override public int read() throws IOException { int read = inputStream.read(); if (read != -1) { sendNotificationUpdate(1); } return read; }
@Override public int read(byte[] b, int off, int len) throws IOException { int read = inputStream.read(b, off, len); if (read != -1) { sendNotificationUpdate(read); } return read; }
@Override public int read(byte[] b) throws IOException { int read = inputStream.read(b); if (read != -1) { sendNotificationUpdate(read); } return read; }