public class AcknowledgeMessage extends Object
| Constructor and Description |
|---|
AcknowledgeMessage(long protocolVersion,
long receiveBufferSize,
long sendBufferSize,
long maxMessageSize,
long maxChunkCount) |
| Modifier and Type | Method and Description |
|---|---|
static AcknowledgeMessage |
decode(io.netty.buffer.ByteBuf buffer) |
static void |
encode(AcknowledgeMessage message,
io.netty.buffer.ByteBuf buffer) |
boolean |
equals(Object o) |
long |
getMaxChunkCount() |
long |
getMaxMessageSize() |
long |
getProtocolVersion() |
long |
getReceiveBufferSize() |
long |
getSendBufferSize() |
int |
hashCode() |
String |
toString() |
public AcknowledgeMessage(long protocolVersion,
long receiveBufferSize,
long sendBufferSize,
long maxMessageSize,
long maxChunkCount)
protocolVersion - The latest version of the OPC UA TCP protocol supported by the Server.receiveBufferSize - The largest MessageChunk that the sender can receive. This value shall not be larger
than what the Client requested in the Hello Message. This value shall be greater than
or equal to 8192 bytes.sendBufferSize - The largest MessageChunk that the sender will send. This value shall not be larger than
what the Client requested in the Hello Message. This value shall be greater than or
equal to 8192 bytes.maxMessageSize - The maximum size for any request Message. The maximum size for any request Message. The
Client shall abort the Message with a Bad_RequestTooLarge StatusCode if a request
Message exceeds this value. The Message size is calculated using the unencrypted Message
body. A value of zero indicates that the Server has no limit.maxChunkCount - The maximum number of chunks in any request Message. A value of zero indicates that the
Server has no limit.public long getProtocolVersion()
public long getReceiveBufferSize()
public long getSendBufferSize()
public long getMaxMessageSize()
public long getMaxChunkCount()
public static void encode(AcknowledgeMessage message, io.netty.buffer.ByteBuf buffer)
public static AcknowledgeMessage decode(io.netty.buffer.ByteBuf buffer)
Copyright © 2025. All rights reserved.