类的用途
com.sun.nio.sctp.SctpChannel
使用 SctpChannel 的包
-
SctpChannel 在 com.sun.nio.sctp 中的用法
com.sun.nio.sctp 中返回 SctpChannel 的方法修饰符和类型方法描述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) 从通道套接字的绑定地址中删除给定地址。