Uses of Class
com.sun.nio.sctp.MessageInfo
-
Packages that use MessageInfo 软件包 描述 com.sun.nio.sctp 用于流控制传输协议的Java API。 -
-
Uses of MessageInfo in com.sun.nio.sctp
Methods in com.sun.nio.sctp that return MessageInfo 变量和类型 方法 描述 abstract MessageInfo
MessageInfo. complete(boolean complete)
设置消息是否完整。static MessageInfo
MessageInfo. createOutgoing(Association association, SocketAddress address, int streamNumber)
创建一个适用于向给定关联发送消息时使用的MessageInfo
实例。static MessageInfo
MessageInfo. createOutgoing(SocketAddress address, int streamNumber)
创建适合在发送消息时使用的MessageInfo
实例。abstract MessageInfo
MessageInfo. payloadProtocolID(int ppid)
设置有效负载协议标识符。abstract <T> MessageInfo
SctpChannel. receive(ByteBuffer dst, T attachment, NotificationHandler<T> handler)
接收到给定缓冲区的消息和/或处理通知。abstract <T> MessageInfo
SctpMultiChannel. receive(ByteBuffer buffer, T attachment, NotificationHandler<T> handler)
通过此频道接收消息和/或处理通知。abstract MessageInfo
MessageInfo. streamNumber(int streamNumber)
设置要在其上发送消息的流编号。abstract MessageInfo
MessageInfo. timeToLive(long millis)
设置发送方可能在未发送消息时使消息到期的时间段。abstract MessageInfo
MessageInfo. unordered(boolean unordered)
设置消息是否无序。Methods in com.sun.nio.sctp with parameters of type MessageInfo 变量和类型 方法 描述 abstract int
SctpChannel. send(ByteBuffer src, MessageInfo messageInfo)
通过此频道发送消息。abstract int
SctpMultiChannel. send(ByteBuffer buffer, MessageInfo messageInfo)
通过此频道发送消息。
-