Class State
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.State
-
- All Implemented Interfaces:
Message,Serializable
public class State extends Object implements Message
-
-
Constructor Summary
Constructors Constructor Description State(boolean SIG_8, boolean SIG_7, boolean SIG_6, boolean SIG_5, boolean SIG_4, boolean SIG_3, boolean SIG_2, boolean SIG_1)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetLengthInBits()intgetLengthInBytes()booleangetSIG_1()booleangetSIG_2()booleangetSIG_3()booleangetSIG_4()booleangetSIG_5()booleangetSIG_6()booleangetSIG_7()booleangetSIG_8()inthashCode()voidserialize(WriteBuffer writeBuffer)static StatestaticParse(ReadBuffer readBuffer)static StatestaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Field Detail
-
SIG_8
protected final boolean SIG_8
-
SIG_7
protected final boolean SIG_7
-
SIG_6
protected final boolean SIG_6
-
SIG_5
protected final boolean SIG_5
-
SIG_4
protected final boolean SIG_4
-
SIG_3
protected final boolean SIG_3
-
SIG_2
protected final boolean SIG_2
-
SIG_1
protected final boolean SIG_1
-
-
Method Detail
-
getSIG_8
public boolean getSIG_8()
-
getSIG_7
public boolean getSIG_7()
-
getSIG_6
public boolean getSIG_6()
-
getSIG_5
public boolean getSIG_5()
-
getSIG_4
public boolean getSIG_4()
-
getSIG_3
public boolean getSIG_3()
-
getSIG_2
public boolean getSIG_2()
-
getSIG_1
public boolean getSIG_1()
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
public static State staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static State staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-