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 Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 abstract int
SctpChannel. send(ByteBuffer src, MessageInfo messageInfo)
通过此频道发送消息。abstract int
SctpMultiChannel. send(ByteBuffer buffer, MessageInfo messageInfo)
通过此频道发送消息。
-