public interface SctpServerChannel extends ServerChannel
ServerChannel
which accepts incoming SCTP/IP associations.
Multi-homing address binding/unbinding can done through bindAddress/unbindAddress methods.
Channel.Unsafe
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.net.InetSocketAddress> |
allLocalAddresses()
Return all local addresses of the SCTP server channel.
|
ChannelFuture |
bindAddress(java.net.InetAddress localAddress)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
bindAddress(java.net.InetAddress localAddress,
ChannelPromise promise)
Bind a address to the already bound channel to enable multi-homing.
|
SctpServerChannelConfig |
config()
Returns the
SctpServerChannelConfig configuration of the channel. |
java.net.InetSocketAddress |
localAddress()
Return the (primary) local address of the SCTP server channel.
|
ChannelFuture |
unbindAddress(java.net.InetAddress localAddress)
Unbind the address from channel's multi-homing address list.
|
ChannelFuture |
unbindAddress(java.net.InetAddress localAddress,
ChannelPromise promise)
Unbind the address from channel's multi-homing address list.
|
alloc, bind, bind, close, close, closeFuture, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, eventLoop, flush, isActive, isOpen, isRegistered, isWritable, metadata, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, remoteAddress, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlush
attr
SctpServerChannelConfig config()
SctpServerChannelConfig
configuration of the channel.java.net.InetSocketAddress localAddress()
localAddress
in interface Channel
null
if this channel is not bound.java.util.Set<java.net.InetSocketAddress> allLocalAddresses()
ChannelFuture bindAddress(java.net.InetAddress localAddress)
ChannelFuture bindAddress(java.net.InetAddress localAddress, ChannelPromise promise)
ChannelPromise
and return a ChannelFuture
ChannelFuture unbindAddress(java.net.InetAddress localAddress)
ChannelFuture unbindAddress(java.net.InetAddress localAddress, ChannelPromise promise)
ChannelPromise
and return a ChannelFuture
Copyright © 2008–2018 The Netty Project. All rights reserved.