public abstract class SctpChannel extends AbstractSelectableChannel
| Modifier | Constructor and Description |
|---|---|
protected |
SctpChannel(SelectorProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
abstract Association |
association() |
abstract SctpChannel |
bind(SocketAddress local) |
abstract SctpChannel |
bindAddress(InetAddress inetAddress) |
abstract boolean |
connect(SocketAddress remote) |
abstract boolean |
finishConnect() |
abstract Set<SocketAddress> |
getAllLocalAddresses() |
abstract <T> T |
getOption(SctpSocketOption<T> name) |
abstract Set<SocketAddress> |
getRemoteAddresses() |
static SctpChannel |
open() |
abstract <T> MessageInfo |
receive(ByteBuffer dst,
T attachment,
NotificationHandler<T> handler) |
abstract int |
send(ByteBuffer src,
MessageInfo messageInfo) |
abstract <T> SctpChannel |
setOption(SctpSocketOption<T> name,
T value) |
abstract Set<SctpSocketOption<?>> |
supportedOptions() |
abstract SctpChannel |
unbindAddress(InetAddress inetAddress) |
blockingLock, configureBlocking, implCloseChannel, implCloseSelectableChannel, implConfigureBlocking, isBlocking, isRegistered, keyFor, provider, registerregister, validOpsbegin, close, end, isOpenprotected SctpChannel(SelectorProvider provider)
public static SctpChannel open() throws IOException
IOExceptionpublic abstract <T> T getOption(SctpSocketOption<T> name) throws IOException
IOExceptionpublic abstract <T> SctpChannel setOption(SctpSocketOption<T> name, T value) throws IOException
IOExceptionpublic abstract Set<SocketAddress> getAllLocalAddresses() throws IOException
IOExceptionpublic abstract Set<SocketAddress> getRemoteAddresses() throws IOException
IOExceptionpublic abstract Association association() throws IOException
IOExceptionpublic abstract SctpChannel bind(SocketAddress local) throws IOException
IOExceptionpublic abstract boolean connect(SocketAddress remote) throws IOException
IOExceptionpublic abstract boolean finishConnect()
throws IOException
IOExceptionpublic abstract SctpChannel bindAddress(InetAddress inetAddress) throws IOException
IOExceptionpublic abstract SctpChannel unbindAddress(InetAddress inetAddress) throws IOException
IOExceptionpublic abstract <T> MessageInfo receive(ByteBuffer dst, T attachment, NotificationHandler<T> handler) throws IOException
IOExceptionpublic abstract int send(ByteBuffer src, MessageInfo messageInfo) throws IOException
IOExceptionpublic abstract Set<SctpSocketOption<?>> supportedOptions()
Copyright © 2008–2025 The Netty Project. All rights reserved.