org.xnio.channels.MessageChannel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xnio-api Show documentation
Show all versions of xnio-api Show documentation
The API JAR of the XNIO project
package org.xnio.channels;
import org.xnio.ChannelListener;
/**
* A channel that sends and receives whole messages.
*/
public interface MessageChannel extends ReadableMessageChannel, WritableMessageChannel, SuspendableChannel {
/** {@inheritDoc} */
ChannelListener.Setter extends MessageChannel> getReadSetter();
/** {@inheritDoc} */
ChannelListener.Setter extends MessageChannel> getCloseSetter();
/** {@inheritDoc} */
ChannelListener.Setter extends MessageChannel> getWriteSetter();
}