| java.lang.Object org.apache.mina.common.IoFilterAdapter org.apache.mina.filter.stream.StreamWriteFilter
DEFAULT_STREAM_BUFFER_SIZE | final public static int DEFAULT_STREAM_BUFFER_SIZE(Code) | | The default buffer size this filter uses for writing.
|
getWriteBufferSize | public int getWriteBufferSize()(Code) | | Returns the size of the write buffer in bytes. Data will be read from the
stream in chunks of this size and then written to the next filter.
the write buffer size. |
setWriteBufferSize | public void setWriteBufferSize(int writeBufferSize)(Code) | | Sets the size of the write buffer in bytes. Data will be read from the
stream in chunks of this size and then written to the next filter.
throws: IllegalArgumentException - if the specified size is < 1. |
Methods inherited from org.apache.mina.common.IoFilterAdapter | public void destroy() throws Exception(Code)(Java Doc) public void exceptionCaught(NextFilter nextFilter, IoSession session, Throwable cause) throws Exception(Code)(Java Doc) public void filterClose(NextFilter nextFilter, IoSession session) throws Exception(Code)(Java Doc) public void filterSetTrafficMask(NextFilter nextFilter, IoSession session, TrafficMask trafficMask) throws Exception(Code)(Java Doc) public void filterWrite(NextFilter nextFilter, IoSession session, WriteRequest writeRequest) throws Exception(Code)(Java Doc) public void init() throws Exception(Code)(Java Doc) public void messageReceived(NextFilter nextFilter, IoSession session, Object message) throws Exception(Code)(Java Doc) public void messageSent(NextFilter nextFilter, IoSession session, WriteRequest writeRequest) throws Exception(Code)(Java Doc) public void onPostAdd(IoFilterChain parent, String name, NextFilter nextFilter) throws Exception(Code)(Java Doc) public void onPostRemove(IoFilterChain parent, String name, NextFilter nextFilter) throws Exception(Code)(Java Doc) public void onPreAdd(IoFilterChain parent, String name, NextFilter nextFilter) throws Exception(Code)(Java Doc) public void onPreRemove(IoFilterChain parent, String name, NextFilter nextFilter) throws Exception(Code)(Java Doc) public void sessionClosed(NextFilter nextFilter, IoSession session) throws Exception(Code)(Java Doc) public void sessionCreated(NextFilter nextFilter, IoSession session) throws Exception(Code)(Java Doc) public void sessionIdle(NextFilter nextFilter, IoSession session, IdleStatus status) throws Exception(Code)(Java Doc) public void sessionOpened(NextFilter nextFilter, IoSession session) throws Exception(Code)(Java Doc)
|
|
|