| Modifier and Type | Field and Description |
|---|---|
| private final SocketAddress | |
| private Association | |
| private int | |
| private final int | |
| private boolean | |
| private int | |
| private int | |
| private long | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| private | MessageInfoImpl(int assocId, SocketAddress address, int bytes, int streamNumber, boolean complete, boolean unordered, int ppid)
|
| Modifier and Type | Method and Description |
|---|---|
| public SocketAddress | address()
Implements abstract com. Returns the source socket address if the message has been received, otherwise the preferred destination of the message to be sent. |
| public Association | association()
Implements abstract com. Returns the association that the message was received on, if the message has been received, otherwise the association that the message is to be sent on. |
| pack-priv int | |
| public int | bytes()
Implements abstract com. Returns the number of bytes read for the received message. |
| public MessageInfo | complete(boolean complete)
Implements abstract com. Sets whether or not the message is complete. |
| public boolean | isComplete()
Implements abstract com. Tells whether or not the message is complete. |
| public boolean | isUnordered()
Implements abstract com. Tells whether or not the message is unordered. |
| public int | payloadProtocolID()
Implements abstract com. Returns the payload protocol Identifier. |
| public MessageInfo | payloadProtocolID(int ppid)
Implements abstract com. Sets the payload protocol Identifier. |
| pack-priv void | setAssociation(Association association)
MessageInfoImpl instances created from native will need to have their association set from the channel. |
| public int | streamNumber()
Implements abstract com. Returns the stream number that the message was received on, if the message has been received, otherwise the stream number that the message is to be sent on. |
| public MessageInfo | streamNumber(int streamNumber)
Implements abstract com. Sets the stream number that the message is to be sent on. |
| public long | timeToLive()
Implements abstract com. The time period that the sending side may expire the message if it has
not been sent, or |
| public MessageInfo | timeToLive(long millis)
Implements abstract com. Sets the time period that the sending side may expire the message if it has not been sent. |
| public String | |
| public MessageInfo | unordered(boolean unordered)
Implements abstract com. Sets whether or not the message is unordered. |
| address | back to summary |
|---|---|
| private final SocketAddress address | |
| association | back to summary |
|---|---|
| private Association association | |
| assocId | back to summary |
|---|---|
| private int assocId | |
| bytes | back to summary |
|---|---|
| private final int bytes | |
| complete | back to summary |
|---|---|
| private boolean complete | |
| ppid | back to summary |
|---|---|
| private int ppid | |
| streamNumber | back to summary |
|---|---|
| private int streamNumber | |
| timeToLive | back to summary |
|---|---|
| private long timeToLive | |
| unordered | back to summary |
|---|---|
| private boolean unordered | |
| MessageInfoImpl | back to summary |
|---|---|
| public MessageInfoImpl(Association association, SocketAddress address, int streamNumber) | |
| MessageInfoImpl | back to summary |
|---|---|
| private MessageInfoImpl(int assocId, SocketAddress address, int bytes, int streamNumber, boolean complete, boolean unordered, int ppid) | |
| address | back to summary |
|---|---|
| public SocketAddress address() Implements abstract com. Doc from com. Returns the source socket address if the message has been received, otherwise the preferred destination of the message to be sent.
| |
| association | back to summary |
|---|---|
| public Association association() Implements abstract com. Doc from com. Returns the association that the message was received on, if the message has been received, otherwise the association that the message is to be sent on.
| |
| associationID | back to summary |
|---|---|
| pack-priv int associationID() | |
| bytes | back to summary |
|---|---|
| public int bytes() Implements abstract com. Doc from com. Returns the number of bytes read for the received message. This method is only appicable for received messages, it has no meaning for messages being sent.
| |
| complete | back to summary |
|---|---|
| public MessageInfo complete(boolean complete) Implements abstract com. Doc from com. Sets whether or not the message is complete. For messages being sent
| |
| isComplete | back to summary |
|---|---|
| public boolean isComplete() Implements abstract com. Doc from com. Tells whether or not the message is complete. For received messages
| |
| isUnordered | back to summary |
|---|---|
| public boolean isUnordered() Implements abstract com. Doc from com. Tells whether or not the message is unordered. For received messages
| |
| payloadProtocolID | back to summary |
|---|---|
| public int payloadProtocolID() Implements abstract com. Doc from com. Returns the payload protocol Identifier. A value indicating the type of payload protocol data being
transmitted/received. This value is passed as opaque data by SCTP.
| |
| payloadProtocolID | back to summary |
|---|---|
| public MessageInfo payloadProtocolID(int ppid) Implements abstract com. Doc from com. Sets the payload protocol Identifier. A value indicating the type of payload protocol data being transmitted. This value is passed as opaque data by SCTP.
| |
| setAssociation | back to summary |
|---|---|
| pack-priv void setAssociation(Association association) MessageInfoImpl instances created from native will need to have their association set from the channel. | |
| streamNumber | back to summary |
|---|---|
| public int streamNumber() Implements abstract com. Doc from com. Returns the stream number that the message was received on, if the message has been received, otherwise the stream number that the message is to be sent on.
| |
| streamNumber | back to summary |
|---|---|
| public MessageInfo streamNumber(int streamNumber) Implements abstract com. Doc from com. Sets the stream number that the message is to be sent on.
| |
| timeToLive | back to summary |
|---|---|
| public long timeToLive() Implements abstract com. Doc from com. The time period that the sending side may expire the message if it has
not been sent, or
| |
| timeToLive | back to summary |
|---|---|
| public MessageInfo timeToLive(long millis) Implements abstract com. Doc from com. Sets the time period that the sending side may expire the message if it has not been sent.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| unordered | back to summary |
|---|---|
| public MessageInfo unordered(boolean unordered) Implements abstract com. Doc from com. Sets whether or not the message is unordered.
| |