All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xnio.channels.StreamChannel Maven / Gradle / Ivy

There is a newer version: 62
Show newest version

package org.xnio.channels;

import org.xnio.ChannelListener;

/**
 * A stream channel.  This type of channel represents a stream of bytes flowing in two directions.
 *
 * @apiviz.landmark
 */
public interface StreamChannel extends SuspendableChannel, StreamSinkChannel, StreamSourceChannel, ByteChannel {

    /** {@inheritDoc} */
    ChannelListener.Setter getReadSetter();

    /** {@inheritDoc} */
    ChannelListener.Setter getWriteSetter();

    /** {@inheritDoc} */
    ChannelListener.Setter getCloseSetter();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy