java.nio.channels.NetworkChannel Maven / Gradle / Ivy
package java.nio.channels;
import java.io.IOException;
import java.net.SocketAddress;
import java.net.SocketOption;
import java.util.Set;
public interface NetworkChannel extends Channel {
NetworkChannel bind(SocketAddress local) throws IOException;
SocketAddress getLocalAddress() throws IOException;
NetworkChannel setOption(SocketOption name, T value) throws IOException;
T getOption(SocketOption name) throws IOException;
Set> supportedOptions();
}