Class HelloMessage
java.lang.Object
org.eclipse.milo.opcua.stack.core.channel.messages.HelloMessage
-
Constructor Summary
ConstructorsConstructorDescriptionHelloMessage(long protocolVersion, long receiveBufferSize, long sendBufferSize, long maxMessageSize, long maxChunkCount, @Nullable String endpointUrl) -
Method Summary
Modifier and TypeMethodDescriptionstatic HelloMessagedecode(io.netty.buffer.ByteBuf buffer) static voidencode(HelloMessage message, io.netty.buffer.ByteBuf buffer) boolean@Nullable StringlonglonglonglonglonginthashCode()toString()
-
Constructor Details
-
HelloMessage
public HelloMessage(long protocolVersion, long receiveBufferSize, long sendBufferSize, long maxMessageSize, long maxChunkCount, @Nullable String endpointUrl) - Parameters:
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.
-
-
Method Details
-
getProtocolVersion
public long getProtocolVersion() -
getReceiveBufferSize
public long getReceiveBufferSize() -
getSendBufferSize
public long getSendBufferSize() -
getMaxMessageSize
public long getMaxMessageSize() -
getMaxChunkCount
public long getMaxChunkCount() -
getEndpointUrl
-
equals
-
hashCode
public int hashCode() -
toString
-
encode
-
decode
- Throws:
UaException
-