public interface SctpChannel extends Channel
ChannelChannel.Unsafe| Modifier and Type | Method and Description |
|---|---|
Set<SocketAddress> |
allLocalAddresses()
Return all local addresses of the SCTP channel.
|
Set<SocketAddress> |
allRemoteAddresses()
Return all remote addresses of the SCTP server channel.
|
Association |
association()
Returns the underlying SCTP association.
|
ChannelFuture |
bindAddress(InetAddress localAddress)
Bind a address to the already bound channel to enable multi-homing.
|
SctpChannelConfig |
config()
Returns the
SctpChannelConfig configuration of the channel. |
SocketAddress |
localAddress()
Return the (primary) local address of the SCTP channel.
|
SocketAddress |
remoteAddress()
Return the (primary) remote address of the SCTP channel.
|
ChannelFuture |
unbindAddress(InetAddress localAddress)
Unbind the address from channel's multi-homing address list.
|
closeFuture, eventLoop, id, isActive, isOpen, isRegistered, metadata, outboundByteBuffer, outboundMessageBuffer, parent, pipeline, unsafebind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, flush, flush, write, writenewFailedFuture, newFuture, newSucceededFuturecompareToAssociation association()
SocketAddress localAddress()
localAddress in interface Channelnull if this channel is not bound.Set<SocketAddress> allLocalAddresses()
SctpChannelConfig config()
SctpChannelConfig configuration of the channel.SocketAddress remoteAddress()
remoteAddress in interface Channelnull if this channel is not connected.
If this channel is not connected but it can receive messages
from arbitrary remote addresses (e.g. DatagramChannel,
use MessageEvent#getRemoteAddress() to determine
the origination of the received message as this method will
return null.Set<SocketAddress> allRemoteAddresses()
ChannelFuture bindAddress(InetAddress localAddress)
ChannelFuture unbindAddress(InetAddress localAddress)
Copyright © 2008-2012 The Netty Project. All Rights Reserved.