Package org.apache.qpid.proton.amqp

Examples of org.apache.qpid.proton.amqp.Decimal32


    @Override
    @ProtonCEquivalent("pn_data_get_decimal32")
    public Decimal32 getDecimal32()
    {
        return new Decimal32((int)Proton.pn_data_get_decimal32(_impl));
    }
View Full Code Here


            {
                return new Decimal64(value.getAs_decimal64().longValue());
            }
            else if(pn_type_t.PN_DECIMAL32.equals(type))
            {
                return new Decimal32((int)value.getAs_decimal32());
            }
            else if(pn_type_t.PN_DESCRIBED.equals(type))
            {
                // TODO
            }
View Full Code Here

    @Override
    @ProtonCEquivalent("pn_data_get_decimal32")
    public Decimal32 getDecimal32()
    {
        return new Decimal32((int)Proton.pn_data_get_decimal32(_impl));
    }
View Full Code Here

            {
                return new Decimal64(value.getAs_decimal64().longValue());
            }
            else if(pn_type_t.PN_DECIMAL32.equals(type))
            {
                return new Decimal32((int)value.getAs_decimal32());
            }
            else if(pn_type_t.PN_DESCRIBED.equals(type))
            {
                // TODO
            }
View Full Code Here

            return (getType() == encoding.getType());
        }

        public Decimal32 readValue()
        {
            return new Decimal32(getDecoder().readRawInt());
        }
View Full Code Here

TOP

Related Classes of org.apache.qpid.proton.amqp.Decimal32

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.