NioSctpServerChannel.@Deprecated public class OioSctpServerChannel extends io.netty.channel.oio.AbstractOioMessageChannel implements SctpServerChannel
SctpServerChannel implementation which use blocking mode to accept new
connections and create the OioSctpChannel for them.
Be aware that not all operations systems support SCTP. Please refer to the documentation of your operation system,
to understand what you need to do to use it. Also this feature is only supported on Java 7+.| Constructor and Description |
|---|
OioSctpServerChannel()
Deprecated.
Create a new instance with an new
SctpServerChannel |
OioSctpServerChannel(SctpServerChannel sch)
Deprecated.
Create a new instance from the given
SctpServerChannel |
| Modifier and Type | Method and Description |
|---|---|
Set<InetSocketAddress> |
allLocalAddresses()
Deprecated.
Return all local addresses of the SCTP server channel.
|
io.netty.channel.ChannelFuture |
bindAddress(InetAddress localAddress)
Deprecated.
Bind a address to the already bound channel to enable multi-homing.
|
io.netty.channel.ChannelFuture |
bindAddress(InetAddress localAddress,
io.netty.channel.ChannelPromise promise)
Deprecated.
Bind a address to the already bound channel to enable multi-homing.
|
SctpServerChannelConfig |
config()
Deprecated.
Returns the
SctpServerChannelConfig configuration of the channel. |
protected void |
doBind(SocketAddress localAddress)
Deprecated.
|
protected void |
doClose()
Deprecated.
|
protected void |
doConnect(SocketAddress remoteAddress,
SocketAddress localAddress)
Deprecated.
|
protected void |
doDisconnect()
Deprecated.
|
protected int |
doReadMessages(List<Object> buf)
Deprecated.
|
protected void |
doWrite(io.netty.channel.ChannelOutboundBuffer in)
Deprecated.
|
protected Object |
filterOutboundMessage(Object msg)
Deprecated.
|
boolean |
isActive()
Deprecated.
|
boolean |
isOpen()
Deprecated.
|
InetSocketAddress |
localAddress()
Deprecated.
Return the (primary) local address of the SCTP server channel.
|
protected SocketAddress |
localAddress0()
Deprecated.
|
io.netty.channel.ChannelMetadata |
metadata()
Deprecated.
|
InetSocketAddress |
remoteAddress()
Deprecated.
|
protected SocketAddress |
remoteAddress0()
Deprecated.
|
io.netty.channel.ChannelFuture |
unbindAddress(InetAddress localAddress)
Deprecated.
Unbind the address from channel's multi-homing address list.
|
io.netty.channel.ChannelFuture |
unbindAddress(InetAddress localAddress,
io.netty.channel.ChannelPromise promise)
Deprecated.
Unbind the address from channel's multi-homing address list.
|
clearReadPending, doBeginRead, isCompatible, isReadPending, newUnsafe, setReadPendingalloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doDeregister, doRegister, doShutdownOutput, equals, eventLoop, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlushclone, finalize, getClass, notify, notifyAll, wait, wait, waitalloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isRegistered, isWritable, parent, pipeline, read, unsafebind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlushcompareTopublic OioSctpServerChannel()
SctpServerChannelpublic OioSctpServerChannel(SctpServerChannel sch)
SctpServerChannelsch - the SctpServerChannel which is used by this instancepublic io.netty.channel.ChannelMetadata metadata()
metadata in interface io.netty.channel.Channelpublic SctpServerChannelConfig config()
SctpServerChannelSctpServerChannelConfig configuration of the channel.config in interface io.netty.channel.Channelconfig in interface SctpServerChannelpublic InetSocketAddress remoteAddress()
remoteAddress in interface io.netty.channel.ChannelremoteAddress in class io.netty.channel.AbstractChannelpublic InetSocketAddress localAddress()
SctpServerChannellocalAddress in interface io.netty.channel.ChannellocalAddress in interface SctpServerChannellocalAddress in class io.netty.channel.AbstractChannelpublic boolean isOpen()
isOpen in interface io.netty.channel.Channelprotected SocketAddress localAddress0()
localAddress0 in class io.netty.channel.AbstractChannelpublic Set<InetSocketAddress> allLocalAddresses()
SctpServerChannelallLocalAddresses in interface SctpServerChannelpublic boolean isActive()
isActive in interface io.netty.channel.Channelprotected void doBind(SocketAddress localAddress) throws Exception
doBind in class io.netty.channel.AbstractChannelExceptionprotected void doClose()
throws Exception
doClose in class io.netty.channel.AbstractChannelExceptionprotected int doReadMessages(List<Object> buf) throws Exception
doReadMessages in class io.netty.channel.oio.AbstractOioMessageChannelExceptionpublic io.netty.channel.ChannelFuture bindAddress(InetAddress localAddress)
SctpServerChannelbindAddress in interface SctpServerChannelpublic io.netty.channel.ChannelFuture bindAddress(InetAddress localAddress, io.netty.channel.ChannelPromise promise)
SctpServerChannelChannelPromise and return a ChannelFuturebindAddress in interface SctpServerChannelpublic io.netty.channel.ChannelFuture unbindAddress(InetAddress localAddress)
SctpServerChannelunbindAddress in interface SctpServerChannelpublic io.netty.channel.ChannelFuture unbindAddress(InetAddress localAddress, io.netty.channel.ChannelPromise promise)
SctpServerChannelChannelPromise and return a ChannelFutureunbindAddress in interface SctpServerChannelprotected void doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception
doConnect in class io.netty.channel.oio.AbstractOioChannelExceptionprotected SocketAddress remoteAddress0()
remoteAddress0 in class io.netty.channel.AbstractChannelprotected void doDisconnect()
throws Exception
doDisconnect in class io.netty.channel.AbstractChannelExceptionprotected void doWrite(io.netty.channel.ChannelOutboundBuffer in)
throws Exception
doWrite in class io.netty.channel.AbstractChannelExceptionCopyright © 2008–2025 The Netty Project. All rights reserved.