Class CANOpenSDOTag
- java.lang.Object
-
- org.apache.plc4x.java.canopen.tag.CANOpenTag
-
- org.apache.plc4x.java.canopen.tag.CANOpenSDOTag
-
- All Implemented Interfaces:
PlcTag,Serializable
public class CANOpenSDOTag extends CANOpenTag
-
-
Field Summary
Fields Modifier and Type Field Description static PatternADDRESS_PATTERN-
Fields inherited from class org.apache.plc4x.java.canopen.tag.CANOpenTag
NODE_PATTERN
-
-
Constructor Summary
Constructors Constructor Description CANOpenSDOTag(int node, int answerNode, short index, short subIndex, CANOpenDataType canOpenDataType)CANOpenSDOTag(int node, short index, short subIndex, CANOpenDataType canOpenDataType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddressString()intgetAnswerNodeId()List<ArrayInfo>getArrayInfo()CANOpenDataTypegetCanOpenDataType()shortgetIndex()static MatchergetMatcher(String addressString)PlcValueTypegetPlcValueType()shortgetSubIndex()static booleanmatches(String addressString)static CANOpenSDOTagof(String addressString)voidserialize(WriteBuffer writeBuffer)-
Methods inherited from class org.apache.plc4x.java.canopen.tag.CANOpenTag
getNodeId
-
-
-
-
Field Detail
-
ADDRESS_PATTERN
public static final Pattern ADDRESS_PATTERN
-
-
Constructor Detail
-
CANOpenSDOTag
public CANOpenSDOTag(int node, short index, short subIndex, CANOpenDataType canOpenDataType)
-
CANOpenSDOTag
public CANOpenSDOTag(int node, int answerNode, short index, short subIndex, CANOpenDataType canOpenDataType)
-
-
Method Detail
-
getAddressString
public String getAddressString()
-
getPlcValueType
public PlcValueType getPlcValueType()
-
getAnswerNodeId
public int getAnswerNodeId()
-
getIndex
public short getIndex()
-
getSubIndex
public short getSubIndex()
-
getCanOpenDataType
public CANOpenDataType getCanOpenDataType()
-
matches
public static boolean matches(String addressString)
-
getMatcher
public static Matcher getMatcher(String addressString) throws PlcInvalidTagException
- Throws:
PlcInvalidTagException
-
of
public static CANOpenSDOTag of(String addressString)
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Throws:
SerializationException
-
-