Package org.apache.qpid.proton.amqp

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


    @ProtonCEquivalent("pn_data_get_decimal128")
    public Decimal128 getDecimal128()
    {
        pn_decimal128_t b = Proton.pn_data_get_decimal128(_impl);
        ByteBuffer buf = ByteBuffer.wrap(b.getBytes());
        return new Decimal128(buf.getLong(),buf.getLong());
    }
View Full Code Here


    @ProtonCEquivalent("pn_data_get_decimal128")
    public Decimal128 getDecimal128()
    {
        pn_decimal128_t b = Proton.pn_data_get_decimal128(_impl);
        ByteBuffer buf = ByteBuffer.wrap(b.getBytes());
        return new Decimal128(buf.getLong(),buf.getLong());
    }
View Full Code Here

        public Decimal128 readValue()
        {
            long msb = getDecoder().readRawLong();
            long lsb = getDecoder().readRawLong();
            return new Decimal128(msb, lsb);
        }
View Full Code Here

TOP

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

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.