クラスcom.sun.nio.sctp.SctpChannel
の使用
SctpChannelを使用するパッケージ
-
com.sun.nio.sctpでのSctpChannelの使用
SctpChannelを返すcom.sun.nio.sctpのメソッド修飾子と型メソッド説明abstract SctpChannelSctpServerChannel.accept()このチャネルのソケット上のアソシエーションを受け入れます。abstract SctpChannelSctpChannel.bind(SocketAddress local) チャネルのソケットをローカル・アドレスにバインドします。abstract SctpChannelSctpChannel.bindAddress(InetAddress address) 指定されたアドレスをチャネルのソケットにバインドされているアドレスに追加します。abstract SctpChannelSctpMultiChannel.branch(Association association) アソシエーションを分岐します。static SctpChannelSctpChannel.open()SCTPチャネルを開きます。static SctpChannelSctpChannel.open(SocketAddress remote, int maxOutStreams, int maxInStreams) SCTPチャネルを開き、リモート・アドレスに接続します。abstract <T> SctpChannelSctpChannel.setOption(SctpSocketOption<T> name, T value) ソケット・オプションの値を設定します。abstract SctpChannelSctpChannel.shutdown()チャネルを閉じずに接続を停止します。abstract SctpChannelSctpChannel.unbindAddress(InetAddress address) 指定されたアドレスをチャネルのソケットにバインドされているアドレスから削除します。