Home / Type/ SctpServerChannel Type — netty Architecture

SctpServerChannel Type — netty Architecture

Architecture documentation for the SctpServerChannel type/interface in SctpServerChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  afa60c32_1eb9_b121_aede_5fc46f38f1f1["SctpServerChannel"]
  c0c03c20_2fc8_4bcf_70a4_5f4f1a2b1ccf["SctpServerChannel.java"]
  afa60c32_1eb9_b121_aede_5fc46f38f1f1 -->|defined in| c0c03c20_2fc8_4bcf_70a4_5f4f1a2b1ccf
  style afa60c32_1eb9_b121_aede_5fc46f38f1f1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-sctp/src/main/java/io/netty/channel/sctp/SctpServerChannel.java lines 33–87

public interface SctpServerChannel extends ServerChannel {

    /**
     * Returns the {@link SctpServerChannelConfig} configuration of the channel.
     */
    @Override
    SctpServerChannelConfig config();

    /**
     * Return the (primary) local address of the SCTP server channel.
     *
     * Please note that, this return the first local address in the underlying SCTP ServerChannel's
     * local address iterator to support Netty Channel API. In other words, its the application's
     * responsibility to keep track of it's local primary address.
     *
     * (To set a local address as primary, the application can request by calling local SCTP stack,
     * with SctpStandardSocketOption.SCTP_PRIMARY_ADDR option).
     */
    @Override
    InetSocketAddress localAddress();

    /**
     * Return all local addresses of the SCTP server channel.
     * Please note that, it will return more than one address if this channel is using multi-homing
     */
    Set<InetSocketAddress> allLocalAddresses();

    /**
     * Bind a address to the already bound channel to enable multi-homing.
     * The Channel must be bound and yet to be connected.
     */
    ChannelFuture bindAddress(InetAddress localAddress);

    /**
     * Bind a address to the already bound channel to enable multi-homing.
     * The Channel must be bound and yet to be connected.
     *
     * Will notify the given {@link ChannelPromise} and return a {@link ChannelFuture}
     */
    ChannelFuture bindAddress(InetAddress localAddress, ChannelPromise promise);

    /**
     *  Unbind the address from channel's multi-homing address list.
     *  The address should be added already in multi-homing address list.
     */
    ChannelFuture unbindAddress(InetAddress localAddress);

    /**
     *  Unbind the address from channel's multi-homing address list.
     *  The address should be added already in multi-homing address list.
     *
     * Will notify the given {@link ChannelPromise} and return a {@link ChannelFuture}
     */
    ChannelFuture unbindAddress(InetAddress localAddress, ChannelPromise promise);
}

Frequently Asked Questions

What is the SctpServerChannel type?
SctpServerChannel is a type/interface in the netty codebase, defined in transport-sctp/src/main/java/io/netty/channel/sctp/SctpServerChannel.java.
Where is SctpServerChannel defined?
SctpServerChannel is defined in transport-sctp/src/main/java/io/netty/channel/sctp/SctpServerChannel.java at line 33.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free