public int size()

in proton-j/src/main/java/org/apache/qpid/proton/codec/transport/AttachType.java [121:147]


            public int size()
            {
                return _attach.getProperties() != null
                          ? 14
                          : _attach.getDesiredCapabilities() != null
                          ? 13
                          : _attach.getOfferedCapabilities() != null
                          ? 12
                          : _attach.getMaxMessageSize() != null
                          ? 11
                          : _attach.getInitialDeliveryCount() != null
                          ? 10
                          : _attach.getIncompleteUnsettled()
                          ? 9
                          : _attach.getUnsettled() != null
                          ? 8
                          : _attach.getTarget() != null
                          ? 7
                          : _attach.getSource() != null
                          ? 6
                          : (_attach.getRcvSettleMode() != null && !_attach.getRcvSettleMode().equals(ReceiverSettleMode.FIRST))
                          ? 5
                          : (_attach.getSndSettleMode() != null && !_attach.getSndSettleMode().equals(SenderSettleMode.MIXED))
                          ? 4
                          : 3;

            }