private class Session.MuxInputStream extends InputStream
Constructor and Description |
---|
Session.MuxInputStream() |
Modifier and Type | Method and Description |
---|---|
int |
available() |
private void |
checkInboundRation()
Sends ration increment, if read drained buffers below
a certain mark.
|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
mark, markSupported, read, reset, skip
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
private void checkInboundRation()
public int available() throws IOException
available
in class InputStream
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.