| Modifier and Type | Method and Description | 
|---|---|
| abstract MessageInfo | MessageInfo. complete(boolean complete)Sets whether or not the message is complete. | 
| static MessageInfo | MessageInfo. createOutgoing(Association association,
              SocketAddress address,
              int streamNumber)Creates a  MessageInfoinstance suitable for use when
 sending a message to a given association. | 
| static MessageInfo | MessageInfo. createOutgoing(SocketAddress address,
              int streamNumber)Creates a  MessageInfoinstance suitable for use when
 sending a message. | 
| abstract MessageInfo | MessageInfo. payloadProtocolID(int ppid)Sets the payload protocol Identifier. | 
| abstract <T> MessageInfo | SctpMultiChannel. receive(ByteBuffer buffer,
       T attachment,
       NotificationHandler<T> handler)Receives a message and/or handles a notification via this channel. | 
| abstract <T> MessageInfo | SctpChannel. receive(ByteBuffer dst,
       T attachment,
       NotificationHandler<T> handler)Receives a message into the given buffer and/or handles a notification. | 
| abstract MessageInfo | MessageInfo. streamNumber(int streamNumber)Sets the stream number that the message is to be sent on. | 
| abstract MessageInfo | MessageInfo. timeToLive(long millis)Sets the time period that the sending side may expire the message if it
 has not been sent. | 
| abstract MessageInfo | MessageInfo. unordered(boolean unordered)Sets whether or not the message is unordered. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract int | SctpMultiChannel. send(ByteBuffer buffer,
    MessageInfo messageInfo)Sends a message via this channel. | 
| abstract int | SctpChannel. send(ByteBuffer src,
    MessageInfo messageInfo)Sends a message via this channel. | 
 Copyright © 2009, 2025, Oracle and/or its affiliates.  All rights reserved.