public interface SctpChannel
extends io.netty.channel.Channel
Channel interface for single SCTP association.
The SctpChannel is a message-oriented, connected transport which supports multi-streaming and multi-homing.
| Modifier and Type | Method and Description |
|---|---|
Set<InetSocketAddress> |
allLocalAddresses()
Return all local addresses of the SCTP channel.
|
Set<InetSocketAddress> |
allRemoteAddresses()
Return all remote addresses of the SCTP server channel.
|
Association |
association()
Returns the underlying SCTP association.
|
io.netty.channel.ChannelFuture |
bindAddress(InetAddress localAddress)
Bind a address to the already bound channel to enable multi-homing.
|
io.netty.channel.ChannelFuture |
bindAddress(InetAddress localAddress,
io.netty.channel.ChannelPromise promise)
Bind a address to the already bound channel to enable multi-homing.
|
SctpChannelConfig |
config()
Returns the
SctpChannelConfig configuration of the channel. |
InetSocketAddress |
localAddress()
Return the (primary) local address of the SCTP channel.
|
SctpServerChannel |
parent() |
InetSocketAddress |
remoteAddress()
Return the (primary) remote address of the SCTP channel.
|
io.netty.channel.ChannelFuture |
unbindAddress(InetAddress localAddress)
Unbind the address from channel's multi-homing address list.
|
io.netty.channel.ChannelFuture |
unbindAddress(InetAddress localAddress,
io.netty.channel.ChannelPromise promise)
Unbind the address from channel's multi-homing address list.
|
alloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isActive, isOpen, isRegistered, isWritable, metadata, pipeline, read, unsafebind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlushcompareToSctpServerChannel parent()
parent in interface io.netty.channel.ChannelAssociation association()
InetSocketAddress localAddress()
localAddress in interface io.netty.channel.ChannelSet<InetSocketAddress> allLocalAddresses()
SctpChannelConfig config()
SctpChannelConfig configuration of the channel.config in interface io.netty.channel.ChannelInetSocketAddress remoteAddress()
remoteAddress in interface io.netty.channel.ChannelSet<InetSocketAddress> allRemoteAddresses()
io.netty.channel.ChannelFuture bindAddress(InetAddress localAddress)
io.netty.channel.ChannelFuture bindAddress(InetAddress localAddress, io.netty.channel.ChannelPromise promise)
ChannelPromise and return a ChannelFutureio.netty.channel.ChannelFuture unbindAddress(InetAddress localAddress)
io.netty.channel.ChannelFuture unbindAddress(InetAddress localAddress, io.netty.channel.ChannelPromise promise)
ChannelPromise and return a ChannelFutureCopyright © 2008–2025 The Netty Project. All rights reserved.