public final class SctpMessage
extends io.netty.buffer.DefaultByteBufHolder
| Constructor and Description |
|---|
SctpMessage(int protocolIdentifier,
int streamIdentifier,
boolean unordered,
io.netty.buffer.ByteBuf payloadBuffer)
Essential data that is being carried within SCTP Data Chunk
|
SctpMessage(int protocolIdentifier,
int streamIdentifier,
io.netty.buffer.ByteBuf payloadBuffer)
Essential data that is being carried within SCTP Data Chunk
|
SctpMessage(MessageInfo msgInfo,
io.netty.buffer.ByteBuf payloadBuffer)
Essential data that is being carried within SCTP Data Chunk
|
| Modifier and Type | Method and Description |
|---|---|
SctpMessage |
copy() |
SctpMessage |
duplicate() |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isComplete()
Return
true if this message is complete. |
boolean |
isUnordered()
return the unordered flag
|
MessageInfo |
messageInfo()
Return the
MessageInfo for inbound messages or null for
outbound messages. |
int |
protocolIdentifier()
Return the protocol-identifier
|
SctpMessage |
replace(io.netty.buffer.ByteBuf content) |
SctpMessage |
retain() |
SctpMessage |
retain(int increment) |
SctpMessage |
retainedDuplicate() |
int |
streamIdentifier()
Return the stream-identifier
|
String |
toString() |
SctpMessage |
touch() |
SctpMessage |
touch(Object hint) |
public SctpMessage(int protocolIdentifier,
int streamIdentifier,
io.netty.buffer.ByteBuf payloadBuffer)
protocolIdentifier - of payloadstreamIdentifier - that you want to send the payloadpayloadBuffer - channel bufferpublic SctpMessage(int protocolIdentifier,
int streamIdentifier,
boolean unordered,
io.netty.buffer.ByteBuf payloadBuffer)
protocolIdentifier - of payloadstreamIdentifier - that you want to send the payloadunordered - if true, the SCTP Data Chunk will be sent with the U (unordered) flag set.payloadBuffer - channel bufferpublic SctpMessage(MessageInfo msgInfo, io.netty.buffer.ByteBuf payloadBuffer)
msgInfo - the MessageInfopayloadBuffer - channel bufferpublic int streamIdentifier()
public int protocolIdentifier()
public boolean isUnordered()
public MessageInfo messageInfo()
MessageInfo for inbound messages or null for
outbound messages.public boolean isComplete()
true if this message is complete.public boolean equals(Object o)
equals in class io.netty.buffer.DefaultByteBufHolderpublic int hashCode()
hashCode in class io.netty.buffer.DefaultByteBufHolderpublic SctpMessage copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in class io.netty.buffer.DefaultByteBufHolderpublic SctpMessage duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in class io.netty.buffer.DefaultByteBufHolderpublic SctpMessage retainedDuplicate()
retainedDuplicate in interface io.netty.buffer.ByteBufHolderretainedDuplicate in class io.netty.buffer.DefaultByteBufHolderpublic SctpMessage replace(io.netty.buffer.ByteBuf content)
replace in interface io.netty.buffer.ByteBufHolderreplace in class io.netty.buffer.DefaultByteBufHolderpublic SctpMessage retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class io.netty.buffer.DefaultByteBufHolderpublic SctpMessage retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class io.netty.buffer.DefaultByteBufHolderpublic SctpMessage touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.buffer.DefaultByteBufHolderpublic SctpMessage touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.buffer.DefaultByteBufHolderpublic String toString()
toString in class io.netty.buffer.DefaultByteBufHolderCopyright © 2008–2025 The Netty Project. All rights reserved.