public interface SctpServerChannel
extends io.netty.channel.ServerChannel
ServerChannel
which accepts incoming SCTP/IP associations.
Multi-homing address binding/unbinding can done through bindAddress/unbindAddress methods.
Modifier and Type | Method and Description |
---|---|
Set<InetSocketAddress> |
allLocalAddresses()
Return all local addresses of the SCTP server channel.
|
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.
|
SctpServerChannelConfig |
config()
Returns the
SctpServerChannelConfig configuration of the channel. |
InetSocketAddress |
localAddress()
Return the (primary) local address of the SCTP server 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, parent, pipeline, read, remoteAddress, unsafe
bind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlush
compareTo
SctpServerChannelConfig config()
SctpServerChannelConfig
configuration of the channel.config
in interface io.netty.channel.Channel
InetSocketAddress localAddress()
localAddress
in interface io.netty.channel.Channel
Set<InetSocketAddress> allLocalAddresses()
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–2017 The Netty Project. All rights reserved.