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, register
register, validOps
begin, close, end, isOpen
protected SctpChannel(SelectorProvider provider)
public static SctpChannel open() throws IOException
IOException
public abstract <T> T getOption(SctpSocketOption<T> name) throws IOException
IOException
public abstract <T> SctpChannel setOption(SctpSocketOption<T> name, T value) throws IOException
IOException
public abstract Set<SocketAddress> getAllLocalAddresses() throws IOException
IOException
public abstract Set<SocketAddress> getRemoteAddresses() throws IOException
IOException
public abstract Association association() throws IOException
IOException
public abstract SctpChannel bind(SocketAddress local) throws IOException
IOException
public abstract boolean connect(SocketAddress remote) throws IOException
IOException
public abstract boolean finishConnect() throws IOException
IOException
public abstract SctpChannel bindAddress(InetAddress inetAddress) throws IOException
IOException
public abstract SctpChannel unbindAddress(InetAddress inetAddress) throws IOException
IOException
public abstract <T> MessageInfo receive(ByteBuffer dst, T attachment, NotificationHandler<T> handler) throws IOException
IOException
public abstract int send(ByteBuffer src, MessageInfo messageInfo) throws IOException
IOException
public abstract Set<SctpSocketOption<?>> supportedOptions()
Copyright © 2008–2018 The Netty Project. All rights reserved.