| Package | Description |
|---|---|
| com.prosysopc.ua |
Common classes for client and server side.
|
| com.prosysopc.ua.client |
Main client side classes of the SDK.
|
| com.prosysopc.ua.stack.builtintypes |
OPC UA Part 6 defines 25 builtin types.
|
| com.prosysopc.ua.stack.encoding |
This folder contains serialization interfaces and serialization implementations
|
| com.prosysopc.ua.stack.encoding.binary |
The implementation of binary serialization
|
| com.prosysopc.ua.stack.encoding.json | |
| com.prosysopc.ua.stack.encoding.xml |
The implementation of xml serialization.
|
| com.prosysopc.ua.stack.transport.tcp.impl | |
| com.prosysopc.ua.typedictionary |
Dynamic
Structure handing based on
TypeDictionarys read from the server address space. |
| Modifier and Type | Method and Description |
|---|---|
ByteString |
UaBinaryFile.toBinary()
Returns the encoded contents, which should be written to a filename.uabinary file.
|
| Modifier and Type | Method and Description |
|---|---|
NodeId |
AddressSpace.addNode(NodeId parentNodeId,
NodeId referenceTypeId,
NodeId newNodeId,
QualifiedName browseName,
NodeClass nodeClass,
NodeAttributes nodeAttributes,
NodeId typeDefinition)
Add a new node to the server.
|
HistoryReadResult[] |
UaClient.historyReadAtTimes(NodeId[] nodeIds,
DateTime[] reqTimes,
NumericRange indexRange,
TimestampsToReturn timestampsToReturn,
Boolean useSimpleBounds)
Reads history at specified times.
|
HistoryReadResult[] |
UaClient.historyReadEvents(NodeId[] nodeIds,
DateTime startTime,
DateTime endTime,
UnsignedInteger numValuesPerNode,
EventFilter filter,
TimestampsToReturn timestampsToReturn)
Reads events from history.
|
HistoryReadResult[] |
UaClient.historyReadModified(NodeId[] nodeIds,
DateTime startTime,
DateTime endTime,
UnsignedInteger numValuesPerNode,
NumericRange indexRange,
TimestampsToReturn timestampsToReturn)
Reads Modified values from the history.
|
HistoryReadResult[] |
UaClient.historyReadProcessed(NodeId[] nodeIds,
DateTime startTime,
DateTime endTime,
Double processingInterval,
NodeId aggregateType,
AggregateConfiguration aggregateConfiguration,
NumericRange indexRange,
TimestampsToReturn timestampsToReturn)
Reads processed history data.
|
HistoryReadResult[] |
UaClient.historyReadRaw(NodeId[] nodeIds,
DateTime startTime,
DateTime endTime,
long numValuesPerNode,
Boolean returnBounds,
NumericRange indexRange,
TimestampsToReturn timestampsToReturn)
Reads raw history data.
|
| Modifier and Type | Method and Description |
|---|---|
static ExtensionObject |
ExtensionObject.binaryEncode(Structure encodeable,
EncoderContext ctx)
Create extension object by encoding an encodeable to a binary format using the given context.
|
static ExtensionObject |
ExtensionObject.binaryEncode(Structure encodeable,
EncoderContext ctx,
List<Locale> localeHints)
Encodes the given Structure to an ExtensionObject using the binary encoding rules.
|
static ExtensionObject |
ExtensionObject.encode(Structure encodeable,
QualifiedName encodingType,
EncoderContext ctx)
Create extension object by encoding an encodeable to the defined encoding using
the default serializer. |
static ExtensionObject |
ExtensionObject.jsonEncode(Structure encodeable,
EncoderContext ctx,
JsonEncodingMode mode)
Create an
ExtensionObject, where the given Structure is stored as JSON-encoded String. |
static ExtensionObject |
ExtensionObject.xmlEncode(Structure encodeable,
EncoderContext ctx)
Create an
ExtensionObject, where the given Structure is stored as XML-encoded String. |
static ExtensionObject |
ExtensionObject.xmlEncode(Structure encodeable,
EncoderContext ctx,
boolean writeXmlNamespaces,
boolean indent,
int indentAmount)
Create an
ExtensionObject, where the given Structure is stored as XML-encoded String. |
| Modifier and Type | Method and Description |
|---|---|
void |
IEncoder.put(String fieldName,
Object value,
UaNodeId dataTypeId,
int dimensions)
Encodes the given field.
|
default void |
IEncoder.putBoolean(String fieldName,
Boolean value)
Puts Boolean, throws on failure.
|
default void |
IEncoder.putBooleanArray(String fieldName,
Boolean[] value)
Puts Boolean array, throws on failure.
|
default void |
IEncoder.putBooleanArray(String fieldName,
Collection<Boolean> value)
Puts Boolean array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putByte(String fieldName,
UnsignedByte value)
Puts UInt16 (
UnsignedByte), throws on failure. |
default void |
IEncoder.putByteArray(String fieldName,
Collection<UnsignedByte> value)
Puts UInt16 (
UnsignedByte) array (with Collection.toArray(Object[])), throws on
failure. |
default void |
IEncoder.putByteArray(String fieldName,
UnsignedByte[] value)
Puts Byte (
UnsignedByte) array, throws on failure. |
default void |
IEncoder.putByteString(String fieldName,
ByteString value)
Puts ByteString, throws on failure.
|
default void |
IEncoder.putByteStringArray(String fieldName,
ByteString[] value)
Puts ByteString array, throws on failure.
|
default void |
IEncoder.putByteStringArray(String fieldName,
Collection<ByteString> value)
Puts ByteString array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putDataValue(String fieldName,
DataValue value)
Puts DataValue, throws on failure.
|
default void |
IEncoder.putDataValueArray(String fieldName,
Collection<DataValue> value)
Puts DataValue array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putDataValueArray(String fieldName,
DataValue[] value)
Puts DataValue array, throws on failure.
|
default void |
IEncoder.putDateTime(String fieldName,
DateTime value)
Puts DateTime, throws on failure.
|
default void |
IEncoder.putDateTimeArray(String fieldName,
Collection<DateTime> value)
Puts DateTime array, throws on failure.
|
default void |
IEncoder.putDateTimeArray(String fieldName,
DateTime[] value)
Puts DateTime array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putDiagnosticInfo(String fieldName,
DiagnosticInfo value)
Puts DiagnosticInfo, throws on failure.
|
default void |
IEncoder.putDiagnosticInfoArray(String fieldName,
Collection<DiagnosticInfo> value)
Puts DiagnosticInfo array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putDiagnosticInfoArray(String fieldName,
DiagnosticInfo[] value)
Puts DiagnosticInfo array, throws on failure.
|
default void |
IEncoder.putDouble(String fieldName,
double value)
Puts Double (
Double) (boxing the given value), throws on failure. |
default void |
IEncoder.putDouble(String fieldName,
Double value)
Puts Double (
Double), throws on failure. |
default void |
IEncoder.putDoubleArray(String fieldName,
Collection<Double> value)
Puts Double (
Double) array (with Collection.toArray(Object[])), throws on
failure. |
default void |
IEncoder.putDoubleArray(String fieldName,
Double[] value)
Puts Double (
Double) array, throws on failure. |
default void |
IEncoder.putExpandedNodeId(String fieldName,
ExpandedNodeId value)
Puts ExpandedNodeId, throws on failure.
|
default void |
IEncoder.putExpandedNodeIdArray(String fieldName,
Collection<ExpandedNodeId> value)
Puts ExpandedNodeId array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putExpandedNodeIdArray(String fieldName,
ExpandedNodeId[] value)
Puts ExpandedNodeId array, throws on failure.
|
default void |
IEncoder.putExtensionObject(String fieldName,
ExtensionObject value)
Puts ExtensionObject, throws on failure.
|
default void |
IEncoder.putExtensionObjectArray(String fieldName,
Collection<ExtensionObject> value)
Puts ExtensionObject array, throws on failure.
|
default void |
IEncoder.putExtensionObjectArray(String fieldName,
ExtensionObject[] value)
Puts ExtensionObject array, throws on failure.
|
default void |
IEncoder.putFloat(String fieldName,
float value)
Puts Float (
Float) (boxing the given value), throws on failure. |
default void |
IEncoder.putFloat(String fieldName,
Float value)
Puts Float (
Float), throws on failure. |
default void |
IEncoder.putFloatArray(String fieldName,
Collection<Float> value)
Puts Float (
Float) array (with Collection.toArray(Object[])), throws on
failure. |
default void |
IEncoder.putFloatArray(String fieldName,
Float[] value)
Puts Float (
Float) array, throws on failure. |
default void |
IEncoder.putGuid(String fieldName,
UUID value)
Puts Guid (mapped to Java
UUID), throws on failure. |
default void |
IEncoder.putGuidArray(String fieldName,
Collection<UUID> value)
Puts Guid (mapped to Java
UUID) array (with Collection.toArray(Object[])),
throws on failure. |
default void |
IEncoder.putGuidArray(String fieldName,
UUID[] value)
Puts Guid (mapped to Java
UUID) array, throws on failure. |
default void |
IEncoder.putInt16(String fieldName,
short value)
Puts Int16 (
Short) (boxing the given value), throws on failure. |
default void |
IEncoder.putInt16(String fieldName,
Short value)
Puts Int16 (
Short), throws on failure. |
default void |
IEncoder.putInt16Array(String fieldName,
Collection<Short> value)
Puts Int16 (
Short) array (with Collection.toArray(Object[])), throws on
failure. |
default void |
IEncoder.putInt16Array(String fieldName,
Short[] value)
Puts Int16 (
Short) array, throws on failure. |
default void |
IEncoder.putInt32(String fieldName,
int value)
Puts Int32 (
Integer) (boxing the given value), throws on failure. |
default void |
IEncoder.putInt32(String fieldName,
Integer value)
Puts Int32 (
Integer), throws on failure. |
default void |
IEncoder.putInt32Array(String fieldName,
Collection<Integer> value)
Puts Int32 (
Integer) array (with Collection.toArray(Object[])), throws on
failure. |
default void |
IEncoder.putInt32Array(String fieldName,
int[] value)
Puts Int32 (
Integer) array (int[] converted to Integer[]), throws on failure. |
default void |
IEncoder.putInt32Array(String fieldName,
Integer[] value)
Puts Int32 (
Integer) array, throws on failure. |
default void |
IEncoder.putInt64(String fieldName,
long value)
Puts Int64 (
Long) (boxing the given value), throws on failure. |
default void |
IEncoder.putInt64(String fieldName,
Long value)
Puts Int64 (
Long), throws on failure. |
default void |
IEncoder.putInt64Array(String fieldName,
Collection<Long> value)
Puts Int64 (
Long) array (with Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putInt64Array(String fieldName,
Long[] value)
Puts Int64 (
Long) array, throws on failure. |
default void |
IEncoder.putLocalizedText(String fieldName,
LocalizedText value)
Puts LocalizedText, throws on failure.
|
default void |
IEncoder.putLocalizedTextArray(String fieldName,
Collection<LocalizedText> value)
Puts LocalizedText array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putLocalizedTextArray(String fieldName,
LocalizedText[] value)
Puts LocalizedText array, throws on failure.
|
default void |
IEncoder.putNodeId(String fieldName,
NodeId value)
Puts NodeId, throws on failure.
|
default void |
IEncoder.putNodeIdArray(String fieldName,
Collection<NodeId> value)
Puts NodeId array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putNodeIdArray(String fieldName,
NodeId[] value)
Puts NodeId array, throws on failure.
|
default void |
IEncoder.putQualifiedName(String fieldName,
QualifiedName value)
Puts QualifiedName, throws on failure.
|
default void |
IEncoder.putQualifiedNameArray(String fieldName,
Collection<QualifiedName> value)
Puts QualifiedName array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putQualifiedNameArray(String fieldName,
QualifiedName[] value)
Puts QualifiedName array, throws on failure.
|
default void |
IEncoder.putSByte(String fieldName,
byte value)
Puts SByte (
Byte), throws on failure. |
default void |
IEncoder.putSByte(String fieldName,
Byte value)
Puts SByte (
Byte), throws on failure. |
default void |
IEncoder.putSByte(String fieldName,
int value)
Puts SByte (
Byte), throws on failure. |
default void |
IEncoder.putSByteArray(String fieldName,
Byte[] value)
Puts SByte (
Byte) array, throws on failure. |
default void |
IEncoder.putSByteArray(String fieldName,
Collection<Byte> value)
Puts SByte (
Byte) array (with Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putStatusCode(String fieldName,
StatusCode value)
Puts StatusCode, throws on failure.
|
default void |
IEncoder.putStatusCodeArray(String fieldName,
Collection<StatusCode> value)
Puts StatusCode array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putStatusCodeArray(String fieldName,
StatusCode[] value)
Puts StatusCode array, throws on failure.
|
default void |
IEncoder.putString(String fieldName,
String value)
Puts a
String, throws on failure. |
default void |
IEncoder.putStringArray(String fieldName,
Collection<String> value)
Puts a
String array (by using Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putStringArray(String fieldName,
String[] value)
Puts a
String array, throws on failure. |
default void |
IEncoder.putUInt16(String fieldName,
UnsignedShort value)
Puts UInt16 (
UnsignedShort), throws on failure. |
default void |
IEncoder.putUInt16Array(String fieldName,
Collection<UnsignedShort> value)
Puts UInt16 (
UnsignedShort) array (with Collection.toArray(Object[])), throws
on failure. |
default void |
IEncoder.putUInt16Array(String fieldName,
UnsignedShort[] value)
Puts UInt16 (
UnsignedShort) array, throws on failure. |
default void |
IEncoder.putUInt32(String fieldName,
UnsignedInteger value)
Puts UInt32 (
UnsignedInteger), throws on failure. |
default void |
IEncoder.putUInt32Array(String fieldName,
Collection<UnsignedInteger> value)
Puts UInt32 (
UnsignedInteger) array (with Collection.toArray(Object[])), throws
on failure. |
default void |
IEncoder.putUInt32Array(String fieldName,
UnsignedInteger[] value)
Puts UInt32 (
UnsignedInteger) array, throws on failure. |
default void |
IEncoder.putUInt64(String fieldName,
UnsignedLong value)
Puts UInt64 (
UnsignedLong), throws on failure. |
default void |
IEncoder.putUInt64Array(String fieldName,
Collection<UnsignedLong> value)
Puts UInt64 (
UnsignedLong) array (with Collection.toArray(Object[])), throws on
failure. |
default void |
IEncoder.putUInt64Array(String fieldName,
UnsignedLong[] value)
Puts UInt64 (
UnsignedLong) array, throws on failure. |
default void |
IEncoder.putVariant(String fieldName,
Variant value)
Puts Variant, throws on failure.
|
default void |
IEncoder.putVariantArray(String fieldName,
Variant[] value)
Puts Variant array, throws on failure.
|
default void |
IEncoder.putXmlElement(String fieldName,
XmlElement value)
Puts XmlElement, throws on failure.
|
default void |
IEncoder.putXmlElementArray(String fieldName,
Collection<XmlElement> value)
Puts XmlElement array (with
Collection.toArray(Object[])), throws on failure. |
default void |
IEncoder.putXmlElementArray(String fieldName,
XmlElement[] value)
Puts XmlElement array, throws on failure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BinaryEncoder.put(String fieldName,
Object value,
UaNodeId dataTypeId,
int dimensions) |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonEncoder.beginArray() |
void |
JsonEncoder.beginArray(String fieldName) |
void |
JsonEncoder.beginObject() |
void |
JsonEncoder.beginObject(String fieldName) |
void |
JsonEncoder.close() |
void |
JsonEncoder.endArray() |
void |
JsonEncoder.endObject() |
void |
JsonEncoder.put(String fieldName,
Object value,
UaNodeId dataTypeId,
int dimensions) |
void |
JsonEncoder.putArrayElement(Object value) |
void |
JsonEncoder.putComma() |
void |
JsonEncoder.putDataValue(String fieldName,
DataValue value,
DataSetFieldContentMask fieldContentMask,
UaNodeId dataSetFieldDataType,
int valueRank)
Puts a DataValue, NOTE! this is only intended to be used by the SDK itself related to Part 14
PubSub.
|
void |
JsonEncoder.putObject(String fieldName,
Object value)
Deprecated.
|
void |
JsonEncoder.putSByte(String fieldName,
int value) |
void |
JsonEncoder.putStructure(String fieldName,
Structure value)
Deprecated.
|
void |
JsonEncoder.putVariantArray(String fieldName,
Collection<Variant> value)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XmlEncoder.put(String fieldName,
Object value,
UaNodeId dataTypeId,
int dimensions) |
void |
XmlEncoder.putRawVariant(Variant value,
String xmlNamespace)
Encode raw Variant value, i.e.
|
void |
XmlEncoder.write(Writer writer)
Writes XML to the given output.
|
| Constructor and Description |
|---|
XmlEncoder(EncoderContext encoderContext)
Creates a new
XmlEncoder that will write to the given output. |
XmlEncoder(EncoderContext encoderContext,
boolean writeNamespaces)
Creates a new
XmlEncoder. |
| Modifier and Type | Method and Description |
|---|---|
static void |
InternalBinaryEncodingsHelper.putServiceRequest(BinaryEncoder enc,
ServiceRequest<?> message)
Internal.
|
static void |
InternalBinaryEncodingsHelper.putServiceResponse(BinaryEncoder enc,
ServiceResponse message)
Internal.
|
static void |
InternalBinaryEncodingsHelper.putUaTcpCommMessage(BinaryEncoder enc,
AbstractUaTcpCommMessage message)
Internal.
|
| Modifier and Type | Method and Description |
|---|---|
ExtensionObject |
TypeDictionary.binaryEncode(Structure structure)
Encode a Structure that has been decoded previously with
TypeDictionary.decode(ExtensionObject). |
Copyright © 2026. All rights reserved.