public class NioSctpChannel extends AbstractNioChannel implements SctpChannel
AbstractNioChannel.AbstractNioUnsafe, AbstractNioChannel.NioUnsafeAbstractChannel.AbstractUnsafeChannel.UnsafeflushFutureNotifier| Constructor and Description |
|---|
NioSctpChannel() |
NioSctpChannel(Channel parent,
Integer id,
SctpChannel sctpChannel) |
NioSctpChannel(SctpChannel sctpChannel) |
| 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. |
protected void |
doBind(SocketAddress localAddress) |
protected void |
doClose() |
protected boolean |
doConnect(SocketAddress remoteAddress,
SocketAddress localAddress) |
protected void |
doDisconnect() |
protected void |
doFinishConnect() |
protected void |
doFlushMessageBuffer(io.netty.buffer.MessageBuf<Object> buf) |
protected int |
doReadMessages(io.netty.buffer.MessageBuf<Object> buf) |
protected int |
doWriteMessages(io.netty.buffer.MessageBuf<Object> buf,
boolean lastSpin) |
boolean |
isActive() |
protected SctpChannel |
javaChannel() |
protected SocketAddress |
localAddress0() |
ChannelMetadata |
metadata()
|
protected io.netty.channel.socket.nio.AbstractNioMessageChannel.NioMessageUnsafe |
newUnsafe() |
protected SocketAddress |
remoteAddress0() |
ChannelFuture |
unbindAddress(InetAddress localAddress)
Unbind the address from channel's multi-homing address list.
|
doDeregister, doRegister, isCompatible, isFlushPending, isOpen, localAddress, remoteAddress, selectionKey, unsafebind, bind, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doFlushByteBuffer, doPreClose, equals, eventLoop, flush, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, newFailedFuture, newFuture, newSucceededFuture, outboundByteBuffer, outboundMessageBuffer, parent, pipeline, toString, write, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitlocalAddress, remoteAddresscloseFuture, eventLoop, id, isOpen, isRegistered, outboundByteBuffer, outboundMessageBuffer, parent, pipeline, unsafebind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, flush, flush, write, writenewFailedFuture, newFuture, newSucceededFuturecompareTopublic NioSctpChannel()
public NioSctpChannel(SctpChannel sctpChannel)
public NioSctpChannel(Channel parent, Integer id, SctpChannel sctpChannel)
public ChannelMetadata metadata()
Channelpublic Association association()
SctpChannelassociation in interface SctpChannelpublic Set<SocketAddress> allLocalAddresses()
SctpChannelallLocalAddresses in interface SctpChannelpublic SctpChannelConfig config()
SctpChannelSctpChannelConfig configuration of the channel.config in interface Channelconfig in interface SctpChannelpublic Set<SocketAddress> allRemoteAddresses()
SctpChannelallRemoteAddresses in interface SctpChannelprotected SctpChannel javaChannel()
javaChannel in class AbstractNioChannelprotected SocketAddress localAddress0()
localAddress0 in class AbstractChannelprotected SocketAddress remoteAddress0()
remoteAddress0 in class AbstractChannelprotected void doBind(SocketAddress localAddress) throws Exception
doBind in class AbstractChannelExceptionprotected boolean doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception
doConnect in class AbstractNioChannelExceptionprotected void doFinishConnect()
throws Exception
doFinishConnect in class AbstractNioChannelExceptionprotected void doDisconnect()
throws Exception
doDisconnect in class AbstractChannelExceptionprotected void doClose()
throws Exception
doClose in class AbstractChannelExceptionprotected int doReadMessages(io.netty.buffer.MessageBuf<Object> buf) throws Exception
Exceptionprotected int doWriteMessages(io.netty.buffer.MessageBuf<Object> buf, boolean lastSpin) throws Exception
Exceptionpublic ChannelFuture bindAddress(InetAddress localAddress)
SctpChannelbindAddress in interface SctpChannelpublic ChannelFuture unbindAddress(InetAddress localAddress)
SctpChannelunbindAddress in interface SctpChannelprotected io.netty.channel.socket.nio.AbstractNioMessageChannel.NioMessageUnsafe newUnsafe()
newUnsafe in class AbstractChannelprotected void doFlushMessageBuffer(io.netty.buffer.MessageBuf<Object> buf) throws Exception
doFlushMessageBuffer in class AbstractChannelExceptionCopyright © 2008-2012 The Netty Project. All Rights Reserved.