Package org.apache.qpid.proton.amqp

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


    @Override
    @ProtonCEquivalent("pn_data_get_decimal64")
    public Decimal64 getDecimal64()
    {
        return new Decimal64(Proton.pn_data_get_decimal64(_impl).longValue());
    }
View Full Code Here


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

    @Override
    @ProtonCEquivalent("pn_data_get_decimal64")
    public Decimal64 getDecimal64()
    {
        return new Decimal64(Proton.pn_data_get_decimal64(_impl).longValue());
    }
View Full Code Here

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

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

        public Decimal64 readValue()
        {
            return new Decimal64(getDecoder().readRawLong());
        }
View Full Code Here

TOP

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

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.