Class SpineAcknowledgment


  • public class SpineAcknowledgment
    extends java.lang.Object
    • Constructor Detail

      • SpineAcknowledgment

        public SpineAcknowledgment​(Error error,
                                   java.lang.String description)
      • SpineAcknowledgment

        public SpineAcknowledgment​(Error error)
    • Method Detail

      • getDatagram

        public org.openmuc.jeebus.spine.xsd.v1.DatagramType getDatagram​(org.openmuc.jeebus.spine.xsd.v1.HeaderType header)
        Parameters:
        header - the header of the acknowledgement message with all details set (e.g. msgCounter, msgCounterReference, etc.)
        Returns:
        the acknowledgement as a DatagramType
      • isPositive

        public boolean isPositive()
        Returns:
        true if the acknowledgment is positive, i.e. success was reported