public abstract class SctpChannel
extends java.nio.channels.spi.AbstractSelectableChannel
限定符 | 构造器和说明 |
---|---|
protected |
SctpChannel(java.nio.channels.spi.SelectorProvider provider) |
限定符和类型 | 方法和说明 |
---|---|
abstract Association |
association() |
abstract SctpChannel |
bind(java.net.SocketAddress local) |
abstract SctpChannel |
bindAddress(java.net.InetAddress inetAddress) |
abstract boolean |
connect(java.net.SocketAddress remote) |
abstract boolean |
finishConnect() |
abstract java.util.Set<java.net.SocketAddress> |
getAllLocalAddresses() |
abstract <T> T |
getOption(SctpSocketOption<T> name) |
abstract java.util.Set<java.net.SocketAddress> |
getRemoteAddresses() |
static SctpChannel |
open() |
abstract <T> MessageInfo |
receive(java.nio.ByteBuffer dst,
T attachment,
NotificationHandler<T> handler) |
abstract int |
send(java.nio.ByteBuffer src,
MessageInfo messageInfo) |
abstract <T> SctpChannel |
setOption(SctpSocketOption<T> name,
T value) |
abstract java.util.Set<SctpSocketOption<?>> |
supportedOptions() |
abstract SctpChannel |
unbindAddress(java.net.InetAddress inetAddress) |
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, register
public static SctpChannel open() throws java.io.IOException
java.io.IOException
public abstract <T> T getOption(SctpSocketOption<T> name) throws java.io.IOException
java.io.IOException
public abstract <T> SctpChannel setOption(SctpSocketOption<T> name, T value) throws java.io.IOException
java.io.IOException
public abstract java.util.Set<java.net.SocketAddress> getAllLocalAddresses() throws java.io.IOException
java.io.IOException
public abstract java.util.Set<java.net.SocketAddress> getRemoteAddresses() throws java.io.IOException
java.io.IOException
public abstract Association association() throws java.io.IOException
java.io.IOException
public abstract SctpChannel bind(java.net.SocketAddress local) throws java.io.IOException
java.io.IOException
public abstract boolean connect(java.net.SocketAddress remote) throws java.io.IOException
java.io.IOException
public abstract boolean finishConnect() throws java.io.IOException
java.io.IOException
public abstract SctpChannel bindAddress(java.net.InetAddress inetAddress) throws java.io.IOException
java.io.IOException
public abstract SctpChannel unbindAddress(java.net.InetAddress inetAddress) throws java.io.IOException
java.io.IOException
public abstract <T> MessageInfo receive(java.nio.ByteBuffer dst, T attachment, NotificationHandler<T> handler) throws java.io.IOException
java.io.IOException
public abstract int send(java.nio.ByteBuffer src, MessageInfo messageInfo) throws java.io.IOException
java.io.IOException
public abstract java.util.Set<SctpSocketOption<?>> supportedOptions()