| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv ByteArrayBuffer | |
| pack-priv byte[] | |
| pack-priv boolean | |
| pack-priv ByteArrayBuffer |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public void | close()
Implements org. |
| public int | fill(Buffer buffer)
Implements org. |
| public int | flush(Buffer
The buffer to flush. This buffers getIndex is updated. buffer)Implements org. |
| public int | flush(Buffer
A buffer to write before flushing this buffer. This buffers getIndex is updated. header, Buffer The buffer to flush. This buffers getIndex is updated. buffer, Buffer A buffer to write after flushing this buffer. This buffers getIndex is updated. trailer)Implements org. |
| public void | |
| public ByteArrayBuffer | |
| public String | |
| public String | |
| public int | |
| public ByteArrayBuffer | |
| public String | |
| public String | |
| public int | |
| public Object | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| _closed | back to summary |
|---|---|
| pack-priv boolean _closed | |
| _growOutput | back to summary |
|---|---|
| pack-priv boolean _growOutput | |
| _in | back to summary |
|---|---|
| pack-priv ByteArrayBuffer _in | |
| _inBytes | back to summary |
|---|---|
| pack-priv byte[] _inBytes | |
| _nonBlocking | back to summary |
|---|---|
| pack-priv boolean _nonBlocking | |
| _out | back to summary |
|---|---|
| pack-priv ByteArrayBuffer _out | |
| ByteArrayEndPoint | back to summary |
|---|---|
| public ByteArrayEndPoint() | |
| ByteArrayEndPoint | back to summary |
|---|---|
| public ByteArrayEndPoint(byte[] input, int outputSize) | |
| blockReadable | back to summary |
|---|---|
| public boolean blockReadable(long millisecs) Implements org. | |
| blockWritable | back to summary |
|---|---|
| public boolean blockWritable(long millisecs) Implements org. | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements org. Doc from org. Close any backing stream associated with the buffer | |
| fill | back to summary |
|---|---|
| public int fill(Buffer buffer) throws IOException Implements org. Doc from org. Fill the buffer from the current putIndex to it's capacity from whatever byte source is backing the buffer. The putIndex is increased if bytes filled. The buffer may chose to do a compact before filling.
| |
| flush | back to summary |
|---|---|
| public int flush(Buffer buffer) throws IOException Implements org. Doc from org. Flush the buffer from the current getIndex to it's putIndex using whatever byte sink is backing the buffer. The getIndex is updated with the number of bytes flushed. Any mark set is cleared. If the entire contents of the buffer are flushed, then an implicit empty() is done.
| |
| flush | back to summary |
|---|---|
| public int flush(Buffer header, Buffer buffer, Buffer trailer) throws IOException Implements org. Doc from org. Flush the buffer from the current getIndex to it's putIndex using whatever byte sink is backing the buffer. The getIndex is updated with the number of bytes flushed. Any mark set is cleared. If the entire contents of the buffer are flushed, then an implicit empty() is done. The passed header/trailer buffers are written before/after the contents of this buffer. This may be done either as gather writes, as a poke into this buffer or as several writes. The implementation is free to select the optimal mechanism.
| |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Implements org. Doc from org. Flush any buffered output. May fail to write all data if endpoint is non-blocking | |
| getIn | back to summary |
|---|---|
public ByteArrayBuffer getIn()
| |
| getLocalAddr | back to summary |
|---|---|
| public String getLocalAddr() Implements org.
| |
| getLocalHost | back to summary |
|---|---|
| public String getLocalHost() Implements org.
| |
| getLocalPort | back to summary |
|---|---|
| public int getLocalPort() Implements org.
| |
| getOut | back to summary |
|---|---|
public ByteArrayBuffer getOut()
| |
| getRemoteAddr | back to summary |
|---|---|
| public String getRemoteAddr() Implements org.
| |
| getRemoteHost | back to summary |
|---|---|
| public String getRemoteHost() Implements org.
| |
| getRemotePort | back to summary |
|---|---|
| public int getRemotePort() Implements org.
| |
| getTransport | back to summary |
|---|---|
| public Object getTransport() Implements org.
| |
| isBlocking | back to summary |
|---|---|
| public boolean isBlocking() Implements org. | |
| isBufferingInput | back to summary |
|---|---|
| public boolean isBufferingInput() Implements org.
| |
| isBufferingOutput | back to summary |
|---|---|
| public boolean isBufferingOutput() Implements org.
| |
| isBufferred | back to summary |
|---|---|
| public boolean isBufferred() Implements org. | |
| isGrowOutput | back to summary |
|---|---|
public boolean isGrowOutput()
| |
| isNonBlocking | back to summary |
|---|---|
public boolean isNonBlocking()
| |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Implements org. | |
| reset | back to summary |
|---|---|
| public void reset() | |
| setGrowOutput | back to summary |
|---|---|
public void setGrowOutput(boolean growOutput)
| |
| setIn | back to summary |
|---|---|
public void setIn(ByteArrayBuffer in)
| |
| setNonBlocking | back to summary |
|---|---|
public void setNonBlocking(boolean nonBlocking)
| |
| setOut | back to summary |
|---|---|
public void setOut(ByteArrayBuffer out)
| |