Method Summary |
|
public void | close() Complete writing to the stream, closing the channel. |
public int | getChannel() Gets the channel of the connection. |
protected InputStream | getInputStream() Gets the raw input stream. |
public String | getURL() |
protected void | init(MuxServer server, int channel) Initialize the multiplexor with input and output streams. |
public int | read() Writes a data byte to the output stream. |
protected void | readTag(int tag) Subclasses will extend this to read values. |
void | readToData(boolean returnOnYield) Reads tags, until getting data. |
protected String | readUTF() Reads a UTF-8 string. |
void | setInputStream(InputStream is) |