public class HelloMessage extends Object
| Constructor and Description |
|---|
HelloMessage(long protocolVersion,
long receiveBufferSize,
long sendBufferSize,
long maxMessageSize,
long maxChunkCount,
@Nullable String endpointUrl) |
| Modifier and Type | Method and Description |
|---|---|
static HelloMessage |
decode(io.netty.buffer.ByteBuf buffer) |
static void |
encode(HelloMessage message,
io.netty.buffer.ByteBuf buffer) |
boolean |
equals(Object o) |
@Nullable String |
getEndpointUrl() |
long |
getMaxChunkCount() |
long |
getMaxMessageSize() |
long |
getProtocolVersion() |
long |
getReceiveBufferSize() |
long |
getSendBufferSize() |
int |
hashCode() |
String |
toString() |
public HelloMessage(long protocolVersion,
long receiveBufferSize,
long sendBufferSize,
long maxMessageSize,
long maxChunkCount,
@Nullable
@Nullable String endpointUrl)
protocolVersion - the latest version of the OPC UA TCP protocol supported by the Client.receiveBufferSize - the largest MessageChunk that the sender (Client) can receive. This value shall be
greater than or equal to 8192 bytes.sendBufferSize - the largest MessageChunk that the sender (Client) will send. This value shall be
greater than or equal to 8192 bytes.maxMessageSize - the maximum size for any response Message. The Message size is calculated using the
unencrypted Message body. A value of zero indicates that the Client has no limit.maxChunkCount - the maximum number of chunks in any response Message. A value of zero indicates that
the Client has no limit.endpointUrl - the URL of the Endpoint which the Client wished to connect to. The encoded value shall
be less than 4096 bytes.public long getProtocolVersion()
public long getReceiveBufferSize()
public long getSendBufferSize()
public long getMaxMessageSize()
public long getMaxChunkCount()
@Nullable public @Nullable String getEndpointUrl()
public static void encode(HelloMessage message, io.netty.buffer.ByteBuf buffer)
public static HelloMessage decode(io.netty.buffer.ByteBuf buffer) throws UaException
UaExceptionCopyright © 2025. All rights reserved.