public abstract class SctpServerChannel
extends java.nio.channels.spi.AbstractSelectableChannel
| Modifier | Constructor and Description |
|---|---|
protected |
SctpServerChannel(java.nio.channels.spi.SelectorProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
abstract SctpChannel |
accept() |
abstract SctpServerChannel |
bind(java.net.SocketAddress local) |
abstract SctpServerChannel |
bind(java.net.SocketAddress local,
int backlog) |
abstract SctpServerChannel |
bindAddress(java.net.InetAddress inetAddress) |
abstract java.util.Set<java.net.SocketAddress> |
getAllLocalAddresses() |
abstract <T> T |
getOption(SctpSocketOption<T> name) |
static SctpServerChannel |
open() |
abstract <T> SctpServerChannel |
setOption(SctpSocketOption<T> name,
T value) |
abstract SctpServerChannel |
unbindAddress(java.net.InetAddress inetAddress) |
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, registerbegin, close, end, isOpenprotected SctpServerChannel(java.nio.channels.spi.SelectorProvider provider)
public static SctpServerChannel open() throws java.io.IOException
java.io.IOExceptionpublic abstract <T> T getOption(SctpSocketOption<T> name) throws java.io.IOException
java.io.IOExceptionpublic abstract <T> SctpServerChannel setOption(SctpSocketOption<T> name, T value) throws java.io.IOException
java.io.IOExceptionpublic abstract java.util.Set<java.net.SocketAddress> getAllLocalAddresses()
throws java.io.IOException
java.io.IOExceptionpublic abstract SctpServerChannel bind(java.net.SocketAddress local) throws java.io.IOException
java.io.IOExceptionpublic abstract SctpServerChannel bind(java.net.SocketAddress local, int backlog) throws java.io.IOException
java.io.IOExceptionpublic abstract SctpServerChannel bindAddress(java.net.InetAddress inetAddress) throws java.io.IOException
java.io.IOExceptionpublic abstract SctpServerChannel unbindAddress(java.net.InetAddress inetAddress) throws java.io.IOException
java.io.IOExceptionpublic abstract SctpChannel accept() throws java.io.IOException
java.io.IOException