Class CANOpenPDOTag
- java.lang.Object
-
- org.apache.plc4x.java.canopen.tag.CANOpenTag
-
- org.apache.plc4x.java.canopen.tag.CANOpenPDOTag
-
- All Implemented Interfaces:
PlcTag,CANOpenSubscriptionTag,Serializable
public class CANOpenPDOTag extends CANOpenTag implements CANOpenSubscriptionTag
-
-
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 CANOpenPDOTag(int node, CANOpenService service, CANOpenDataType canOpenDataType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddressString()List<ArrayInfo>getArrayInfo()CANOpenDataTypegetCanOpenDataType()static MatchergetMatcher(String addressString)PlcValueTypegetPlcValueType()CANOpenServicegetService()booleanisWildcard()static booleanmatches(String addressString)static CANOpenPDOTagof(String addressString)voidserialize(WriteBuffer writeBuffer)-
Methods inherited from class org.apache.plc4x.java.canopen.tag.CANOpenTag
getNodeId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.canopen.tag.CANOpenSubscriptionTag
getNodeId
-
-
-
-
Field Detail
-
ADDRESS_PATTERN
public static final Pattern ADDRESS_PATTERN
-
-
Constructor Detail
-
CANOpenPDOTag
public CANOpenPDOTag(int node, CANOpenService service, CANOpenDataType canOpenDataType)
-
-
Method Detail
-
getCanOpenDataType
public CANOpenDataType getCanOpenDataType()
-
getAddressString
public String getAddressString()
- Specified by:
getAddressStringin interfacePlcTag
-
getPlcValueType
public PlcValueType getPlcValueType()
- Specified by:
getPlcValueTypein interfacePlcTag
-
getArrayInfo
public List<ArrayInfo> getArrayInfo()
- Specified by:
getArrayInfoin interfacePlcTag
-
matches
public static boolean matches(String addressString)
-
getMatcher
public static Matcher getMatcher(String addressString) throws PlcInvalidTagException
- Throws:
PlcInvalidTagException
-
of
public static CANOpenPDOTag of(String addressString)
-
getService
public CANOpenService getService()
- Specified by:
getServicein interfaceCANOpenSubscriptionTag
-
isWildcard
public boolean isWildcard()
- Specified by:
isWildcardin interfaceCANOpenSubscriptionTag
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
-