Class SubmitMultiResp

    • Constructor Detail

      • SubmitMultiResp

        public SubmitMultiResp()
      • SubmitMultiResp

        public SubmitMultiResp​(int status)
    • Method Detail

      • getMessageID

        public String getMessageID()
      • getNumUnsuccess

        public int getNumUnsuccess()
      • getUnsuccessSME

        public List<SubmitMultiResp.UnsuccessSME> getUnsuccessSME()
        Get the list of unsuccessful SMEs for the preceeding submit_multi request.
        Returns:
        List of SubmitMultiResp.UnsuccessSME objects.
      • bodyToBuffer

        protected void bodyToBuffer​(ByteBuffer buf)
                             throws BufferOverflowException
        Description copied from class: PDU
        Write PDU body (not including header or TLVs) to a ByteBuffer. Subclasses MUST override this if they have any additional fields in their body. Fields must be written in big-endian byte order (the default with ByteBuffer anyway).
        Overrides:
        bodyToBuffer in class PDU
        Throws:
        BufferOverflowException
      • bodySize

        protected int bodySize()
        Description copied from class: PDU
        Return size (in bytes) of PDU body (not including header or TLVs). Subclasses MUST override this if they have any additional fields in their body, so that PDU lengths will be calculated correctly.
        Overrides:
        bodySize in class PDU
      • bodyEquals

        protected final boolean bodyEquals​(PDU pdu)
        NOTE that the order/duplicates of UnsuccessSMEs is insignificant in terms of the comparison result.
        Overrides:
        bodyEquals in class PDU
      • bodyHashCode

        protected final int bodyHashCode()
        NOTE that the order/duplicates of UnsuccessSMEs is insignificant in terms of the resulting hash code value.
        Overrides:
        bodyHashCode in class PDU