org.apache.mina.handler.support

Class IoSessionOutputStream


public class IoSessionOutputStream
extends OutputStream

An OutputStream that forwards all write operations to the associated IoSession.

Constructor Summary

IoSessionOutputStream(IoSession session)

Method Summary

@Override
void close()
@Override
void flush()
@Override
void write(byte[] b, int off, int len)
@Override
void write(int b)

Constructor Details

IoSessionOutputStream

public IoSessionOutputStream(IoSession session)

Method Details

void close

public @Override void close()
            throws IOException

void flush

public @Override void flush()
            throws IOException

void write

public @Override void write(byte[] b,
                            int off,
                            int len)
            throws IOException

void write

public @Override void write(int b)
            throws IOException