public interface SctpChannel
extends io.netty.channel.Channel
Channel interface for single SCTP association.
The SctpChannel is a message-oriented, connected transport which supports multi-streaming and multi-homing.
| Modifier and Type | Method and Description |
|---|---|
Set<InetSocketAddress> |
allLocalAddresses()
Return all local addresses of the SCTP channel.
|
io.netty.buffer.ByteBufAllocator |
alloc() |
Set<InetSocketAddress> |
allRemoteAddresses()
Return all remote addresses of the SCTP server channel.
|
Association |
association()
Returns the underlying SCTP association.
|
io.netty.channel.ChannelFuture |
bind(SocketAddress arg0) |
io.netty.channel.ChannelFuture |
bind(SocketAddress arg0,
io.netty.channel.ChannelPromise arg1) |
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.
|
io.netty.channel.ChannelFuture |
close() |
io.netty.channel.ChannelFuture |
close(io.netty.channel.ChannelPromise arg0) |
SctpChannelConfig |
config()
Returns the
SctpChannelConfig configuration of the channel. |
io.netty.channel.ChannelFuture |
connect(SocketAddress arg0) |
io.netty.channel.ChannelFuture |
connect(SocketAddress arg0,
io.netty.channel.ChannelPromise arg1) |
io.netty.channel.ChannelFuture |
connect(SocketAddress arg0,
SocketAddress arg1) |
io.netty.channel.ChannelFuture |
connect(SocketAddress arg0,
SocketAddress arg1,
io.netty.channel.ChannelPromise arg2) |
io.netty.channel.ChannelFuture |
deregister()
Deprecated.
|
io.netty.channel.ChannelFuture |
deregister(io.netty.channel.ChannelPromise arg0)
Deprecated.
|
io.netty.channel.ChannelFuture |
disconnect() |
io.netty.channel.ChannelFuture |
disconnect(io.netty.channel.ChannelPromise arg0) |
InetSocketAddress |
localAddress()
Return the (primary) local address of the SCTP channel.
|
io.netty.channel.ChannelFuture |
newFailedFuture(Throwable arg0) |
io.netty.channel.ChannelProgressivePromise |
newProgressivePromise() |
io.netty.channel.ChannelPromise |
newPromise() |
io.netty.channel.ChannelFuture |
newSucceededFuture() |
SctpServerChannel |
parent() |
io.netty.channel.ChannelPipeline |
pipeline() |
InetSocketAddress |
remoteAddress()
Return the (primary) remote address of the SCTP 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.
|
io.netty.channel.ChannelPromise |
voidPromise() |
io.netty.channel.ChannelFuture |
write(Object arg0) |
io.netty.channel.ChannelFuture |
write(Object arg0,
io.netty.channel.ChannelPromise arg1) |
io.netty.channel.ChannelFuture |
writeAndFlush(Object arg0) |
io.netty.channel.ChannelFuture |
writeAndFlush(Object arg0,
io.netty.channel.ChannelPromise arg1) |
closeFuture, eventLoop, flush, isActive, isOpen, isRegistered, isWritable, metadata, read, unsafecompareToSctpServerChannel parent()
parent in interface io.netty.channel.ChannelAssociation association()
InetSocketAddress localAddress()
localAddress in interface io.netty.channel.ChannelSet<InetSocketAddress> allLocalAddresses()
SctpChannelConfig config()
SctpChannelConfig configuration of the channel.config in interface io.netty.channel.ChannelInetSocketAddress remoteAddress()
remoteAddress in interface io.netty.channel.ChannelSet<InetSocketAddress> allRemoteAddresses()
io.netty.channel.ChannelFuture bindAddress(InetAddress localAddress)
io.netty.channel.ChannelFuture bindAddress(InetAddress localAddress, io.netty.channel.ChannelPromise promise)
ChannelPromise and return a ChannelFutureio.netty.channel.ChannelFuture unbindAddress(InetAddress localAddress)
io.netty.channel.ChannelFuture unbindAddress(InetAddress localAddress, io.netty.channel.ChannelPromise promise)
ChannelPromise and return a ChannelFutureio.netty.channel.ChannelFuture bind(SocketAddress arg0)
io.netty.channel.ChannelFuture connect(SocketAddress arg0)
io.netty.channel.ChannelFuture connect(SocketAddress arg0, SocketAddress arg1)
io.netty.channel.ChannelFuture disconnect()
io.netty.channel.ChannelFuture close()
@Deprecated io.netty.channel.ChannelFuture deregister()
io.netty.channel.ChannelFuture bind(SocketAddress arg0, io.netty.channel.ChannelPromise arg1)
io.netty.channel.ChannelFuture connect(SocketAddress arg0, io.netty.channel.ChannelPromise arg1)
io.netty.channel.ChannelFuture connect(SocketAddress arg0, SocketAddress arg1, io.netty.channel.ChannelPromise arg2)
io.netty.channel.ChannelFuture disconnect(io.netty.channel.ChannelPromise arg0)
io.netty.channel.ChannelFuture close(io.netty.channel.ChannelPromise arg0)
@Deprecated io.netty.channel.ChannelFuture deregister(io.netty.channel.ChannelPromise arg0)
io.netty.channel.ChannelFuture write(Object arg0)
io.netty.channel.ChannelFuture write(Object arg0, io.netty.channel.ChannelPromise arg1)
io.netty.channel.ChannelFuture writeAndFlush(Object arg0, io.netty.channel.ChannelPromise arg1)
io.netty.channel.ChannelFuture writeAndFlush(Object arg0)
io.netty.channel.ChannelPipeline pipeline()
io.netty.buffer.ByteBufAllocator alloc()
io.netty.channel.ChannelPromise newPromise()
io.netty.channel.ChannelProgressivePromise newProgressivePromise()
io.netty.channel.ChannelFuture newSucceededFuture()
io.netty.channel.ChannelFuture newFailedFuture(Throwable arg0)
io.netty.channel.ChannelPromise voidPromise()
Copyright © 2008–2013 The Netty Project. All rights reserved.