Package org.openwebnet4j.message
Class AckOpenMessage
- java.lang.Object
-
- org.openwebnet4j.message.OpenMessage
-
- org.openwebnet4j.message.AckOpenMessage
-
public class AckOpenMessage extends OpenMessage
OpenWebNet acknowledge messages: ACK, NACK, BUSY-NACK.- Author:
- M. Valla - Initial contribution
-
-
Field Summary
Fields Modifier and Type Field Description static AckOpenMessage
ACK
static AckOpenMessage
BUSY_NACK
static AckOpenMessage
NACK
-
Fields inherited from class org.openwebnet4j.message.OpenMessage
FRAME_ACK, FRAME_ACK_NACK_BUSY_START, FRAME_BUSY_NACK, FRAME_END, FRAME_NACK, FRAME_START, FRAME_START_DIM, frameValue
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AckOpenMessage(String frame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCommand()
Is this OpenMessage a command? (*WHO..
).String
toStringVerbose()
Get a verbose representation of this message.-
Methods inherited from class org.openwebnet4j.message.OpenMessage
equals, getFrameValue, isACK, isBUSY_NACK, isNACK, toString
-
-
-
-
Field Detail
-
ACK
public static final AckOpenMessage ACK
-
NACK
public static final AckOpenMessage NACK
-
BUSY_NACK
public static final AckOpenMessage BUSY_NACK
-
-
Constructor Detail
-
AckOpenMessage
protected AckOpenMessage(String frame)
-
-
Method Detail
-
toStringVerbose
public String toStringVerbose()
Description copied from class:OpenMessage
Get a verbose representation of this message.- Specified by:
toStringVerbose
in classOpenMessage
- Returns:
- verbose string representation
-
isCommand
public boolean isCommand()
Description copied from class:OpenMessage
Is this OpenMessage a command? (*WHO..
).- Specified by:
isCommand
in classOpenMessage
- Returns:
- true if it's a command frame
-
-