Class ServerStatusDataType
java.lang.Object
org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
org.apache.plc4x.java.opcua.readwrite.ServerStatusDataType
- All Implemented Interfaces:
Message,Serializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
ExtensionObjectDefinition.ExtensionObjectDefinitionBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExtensionObjectDefinitionprotected final longprotected final longprotected final LocalizedTextprotected final longprotected final ServerState -
Constructor Summary
ConstructorsConstructorDescriptionServerStatusDataType(long startTime, long currentTime, ServerState state, ExtensionObjectDefinition buildInfo, long secondsTillShutdown, LocalizedText shutdownReason) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongintintlonglonggetState()inthashCode()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
-
startTime
protected final long startTime -
currentTime
protected final long currentTime -
state
-
buildInfo
-
secondsTillShutdown
protected final long secondsTillShutdown -
shutdownReason
-
-
Constructor Details
-
ServerStatusDataType
public ServerStatusDataType(long startTime, long currentTime, ServerState state, ExtensionObjectDefinition buildInfo, long secondsTillShutdown, LocalizedText shutdownReason)
-
-
Method Details
-
getIdentifier
- Specified by:
getIdentifierin classExtensionObjectDefinition
-
getStartTime
public long getStartTime() -
getCurrentTime
public long getCurrentTime() -
getState
-
getBuildInfo
-
getSecondsTillShutdown
public long getSecondsTillShutdown() -
getShutdownReason
-
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 ServerStatusDataType.ServerStatusDataTypeBuilder staticParseBuilder(ReadBuffer readBuffer, String identifier) throws ParseException - Throws:
ParseException
-
equals
- Overrides:
equalsin classExtensionObjectDefinition
-
hashCode
public int hashCode()- Overrides:
hashCodein classExtensionObjectDefinition
-
toString
- Overrides:
toStringin classExtensionObjectDefinition
-