Class ServiceCounterDataType
java.lang.Object
org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
org.apache.plc4x.java.opcua.readwrite.ServiceCounterDataType
- All Implemented Interfaces:
Message,Serializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
ExtensionObjectDefinition.ExtensionObjectDefinitionBuilder -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongintintlonginthashCode()protected voidserializeExtensionObjectDefinitionChild(WriteBuffer writeBuffer) staticParseBuilder(ReadBuffer readBuffer, String identifier) toString()Methods inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
serialize, staticParse, staticParseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
Field Details
-
totalCount
protected final long totalCount -
errorCount
protected final long errorCount
-
-
Constructor Details
-
ServiceCounterDataType
public ServiceCounterDataType(long totalCount, long errorCount)
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin classExtensionObjectDefinition
-
getTotalCount
public long getTotalCount() -
getErrorCount
public long getErrorCount() -
serializeExtensionObjectDefinitionChild
protected void serializeExtensionObjectDefinitionChild(WriteBuffer writeBuffer) throws SerializationException - Specified by:
serializeExtensionObjectDefinitionChildin classExtensionObjectDefinition- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classExtensionObjectDefinition
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classExtensionObjectDefinition
-
staticParseBuilder
public static ServiceCounterDataType.ServiceCounterDataTypeBuilder staticParseBuilder(ReadBuffer readBuffer, String identifier) throws ParseException - Throws:
ParseException
-
equals
- Overrides:
equalsin classExtensionObjectDefinition
-
hashCode
public int hashCode()- Overrides:
hashCodein classExtensionObjectDefinition
-
toString
- Overrides:
toStringin classExtensionObjectDefinition
-