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, unsafe
bind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlush
compareTo
SctpServerChannel parent()
parent
in interface io.netty.channel.Channel
Association association()
InetSocketAddress localAddress()
localAddress
in interface io.netty.channel.Channel
Set<InetSocketAddress> allLocalAddresses()
SctpChannelConfig config()
SctpChannelConfig
configuration of the channel.config
in interface io.netty.channel.Channel
InetSocketAddress remoteAddress()
remoteAddress
in interface io.netty.channel.Channel
Set<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 ChannelFuture
io.netty.channel.ChannelFuture unbindAddress(InetAddress localAddress)
io.netty.channel.ChannelFuture unbindAddress(InetAddress localAddress, io.netty.channel.ChannelPromise promise)
ChannelPromise
and return a ChannelFuture
Copyright © 2008–2019 The Netty Project. All rights reserved.