Uses of Class
com.sun.nio.sctp.MessageInfo
Packages that use MessageInfo
-
Uses of MessageInfo in com.sun.nio.sctp
Methods in com.sun.nio.sctp that return MessageInfoModifier and TypeMethodDescriptionabstract MessageInfoMessageInfo.complete(boolean complete) Sets whether or not the message is complete.static MessageInfoMessageInfo.createOutgoing(Association association, SocketAddress address, int streamNumber) Creates aMessageInfoinstance suitable for use when sending a message to a given association.static MessageInfoMessageInfo.createOutgoing(SocketAddress address, int streamNumber) Creates aMessageInfoinstance suitable for use when sending a message.abstract MessageInfoMessageInfo.payloadProtocolID(int ppid) Sets the payload protocol Identifier.abstract <T> MessageInfoSctpChannel.receive(ByteBuffer dst, T attachment, NotificationHandler<T> handler) Receives a message into the given buffer and/or handles a notification.abstract <T> MessageInfoSctpMultiChannel.receive(ByteBuffer buffer, T attachment, NotificationHandler<T> handler) Receives a message and/or handles a notification via this channel.abstract MessageInfoMessageInfo.streamNumber(int streamNumber) Sets the stream number that the message is to be sent on.abstract MessageInfoMessageInfo.timeToLive(long millis) Sets the time period that the sending side may expire the message if it has not been sent.abstract MessageInfoMessageInfo.unordered(boolean unordered) Sets whether or not the message is unordered.Methods in com.sun.nio.sctp with parameters of type MessageInfoModifier and TypeMethodDescriptionabstract intSctpChannel.send(ByteBuffer src, MessageInfo messageInfo) Sends a message via this channel.abstract intSctpMultiChannel.send(ByteBuffer buffer, MessageInfo messageInfo) Sends a message via this channel.