Class MonitoringParameters
- java.lang.Object
-
- org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
-
- org.apache.plc4x.java.opcua.readwrite.MonitoringParameters
-
- All Implemented Interfaces:
Message,Serializable
public class MonitoringParameters extends ExtensionObjectDefinition implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMonitoringParameters.MonitoringParametersBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
ExtensionObjectDefinition.ExtensionObjectDefinitionBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected longclientHandleprotected booleandiscardOldestprotected ExtensionObjectfilterprotected longqueueSizeprotected doublesamplingInterval
-
Constructor Summary
Constructors Constructor Description MonitoringParameters(long clientHandle, double samplingInterval, ExtensionObject filter, long queueSize, boolean discardOldest)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetClientHandle()booleangetDiscardOldest()ExtensionObjectgetFilter()StringgetIdentifier()intgetLengthInBits()intgetLengthInBytes()longgetQueueSize()doublegetSamplingInterval()inthashCode()protected voidserializeExtensionObjectDefinitionChild(WriteBuffer writeBuffer)static ExtensionObjectDefinition.ExtensionObjectDefinitionBuilderstaticParseExtensionObjectDefinitionBuilder(ReadBuffer readBuffer, String identifier)StringtoString()-
Methods inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
serialize, staticParse, staticParse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
-
-
-
Field Detail
-
clientHandle
protected final long clientHandle
-
samplingInterval
protected final double samplingInterval
-
filter
protected final ExtensionObject filter
-
queueSize
protected final long queueSize
-
discardOldest
protected final boolean discardOldest
-
-
Constructor Detail
-
MonitoringParameters
public MonitoringParameters(long clientHandle, double samplingInterval, ExtensionObject filter, long queueSize, boolean discardOldest)
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin classExtensionObjectDefinition
-
getClientHandle
public long getClientHandle()
-
getSamplingInterval
public double getSamplingInterval()
-
getFilter
public ExtensionObject getFilter()
-
getQueueSize
public long getQueueSize()
-
getDiscardOldest
public boolean getDiscardOldest()
-
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
-
staticParseExtensionObjectDefinitionBuilder
public static ExtensionObjectDefinition.ExtensionObjectDefinitionBuilder staticParseExtensionObjectDefinitionBuilder(ReadBuffer readBuffer, String identifier) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classExtensionObjectDefinition
-
hashCode
public int hashCode()
- Overrides:
hashCodein classExtensionObjectDefinition
-
toString
public String toString()
- Overrides:
toStringin classExtensionObjectDefinition
-
-