Package org.jzkit.a2j.codec.runtime

Examples of org.jzkit.a2j.codec.runtime.AsnBitString


    public PDU_type produceInitializingRequest()
    {
        /*
         * Protocol version info
         */
        AsnBitString versionInfo = new AsnBitString();
        versionInfo.setBit(0);
        versionInfo.setBit(1);
        versionInfo.setBit(2);

        /*
         * Protocol options
         */
        AsnBitString options = new AsnBitString();
        options.setBit(0); // search
        options.setBit(1); // present
        options.setBit(2); // del Set
                           // options.setBit(3); // resourceReport
                           // options.setBit(4); // trigger Resource Control
                           // options.setBit(5); // ResourceControl
                           // options.setBit(6); // Access control

        options.setBit(7); // scan
        options.setBit(8); // Sort
                           // 9 is reserved

        options.setBit(10); // Extended Services
                            // options.setBit(11); // Level 1 Segmentations
                            // options.setBit(12); // Level 2 Segmentations

        options.setBit(13); // Concurent ops
        options.setBit(14); // Named result sets

        /*
         * Basic INIT request setup.
         */
        InitializeRequest_type initRequest = new InitializeRequest_type();
View Full Code Here

TOP

Related Classes of org.jzkit.a2j.codec.runtime.AsnBitString

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.