Class CreateSubscriptionRequest
java.lang.Object
org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
org.apache.plc4x.java.opcua.readwrite.CreateSubscriptionRequest
- 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
FieldsModifier and TypeFieldDescriptionprotected final longprotected final shortprotected final booleanprotected final longprotected final longprotected final doubleprotected final ExtensionObjectDefinition -
Constructor Summary
ConstructorsConstructorDescriptionCreateSubscriptionRequest(ExtensionObjectDefinition requestHeader, double requestedPublishingInterval, long requestedLifetimeCount, long requestedMaxKeepAliveCount, long maxNotificationsPerPublish, boolean publishingEnabled, short priority) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintlongshortbooleanlonglongdoubleinthashCode()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
-
requestHeader
-
requestedPublishingInterval
protected final double requestedPublishingInterval -
requestedLifetimeCount
protected final long requestedLifetimeCount -
requestedMaxKeepAliveCount
protected final long requestedMaxKeepAliveCount -
maxNotificationsPerPublish
protected final long maxNotificationsPerPublish -
publishingEnabled
protected final boolean publishingEnabled -
priority
protected final short priority
-
-
Constructor Details
-
CreateSubscriptionRequest
public CreateSubscriptionRequest(ExtensionObjectDefinition requestHeader, double requestedPublishingInterval, long requestedLifetimeCount, long requestedMaxKeepAliveCount, long maxNotificationsPerPublish, boolean publishingEnabled, short priority)
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin classExtensionObjectDefinition
-
getRequestHeader
-
getRequestedPublishingInterval
public double getRequestedPublishingInterval() -
getRequestedLifetimeCount
public long getRequestedLifetimeCount() -
getRequestedMaxKeepAliveCount
public long getRequestedMaxKeepAliveCount() -
getMaxNotificationsPerPublish
public long getMaxNotificationsPerPublish() -
getPublishingEnabled
public boolean getPublishingEnabled() -
getPriority
public short getPriority() -
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 CreateSubscriptionRequest.CreateSubscriptionRequestBuilder staticParseBuilder(ReadBuffer readBuffer, String identifier) throws ParseException - Throws:
ParseException
-
equals
- Overrides:
equalsin classExtensionObjectDefinition
-
hashCode
public int hashCode()- Overrides:
hashCodein classExtensionObjectDefinition
-
toString
- Overrides:
toStringin classExtensionObjectDefinition
-