Class AcknowledgeMessage
java.lang.Object
org.eclipse.milo.opcua.stack.core.channel.messages.AcknowledgeMessage
-
Constructor Summary
ConstructorsConstructorDescriptionAcknowledgeMessage(long protocolVersion, long receiveBufferSize, long sendBufferSize, long maxMessageSize, long maxChunkCount) -
Method Summary
Modifier and TypeMethodDescriptionstatic AcknowledgeMessagedecode(io.netty.buffer.ByteBuf buffer) static voidencode(AcknowledgeMessage message, io.netty.buffer.ByteBuf buffer) booleanlonglonglonglonglonginthashCode()toString()
-
Constructor Details
-
AcknowledgeMessage
public AcknowledgeMessage(long protocolVersion, long receiveBufferSize, long sendBufferSize, long maxMessageSize, long maxChunkCount) - Parameters:
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.
-
-
Method Details
-
getProtocolVersion
public long getProtocolVersion() -
getReceiveBufferSize
public long getReceiveBufferSize() -
getSendBufferSize
public long getSendBufferSize() -
getMaxMessageSize
public long getMaxMessageSize() -
getMaxChunkCount
public long getMaxChunkCount() -
equals
-
hashCode
public int hashCode() -
toString
-
encode
-
decode
-