Examples of PDU_type


Examples of com.k_int.gen.Z39_50_APDU_1995.PDU_type

        LOGGER.finer("Processing incomingSearch_Request");

        SearchRequest_type search_request = (SearchRequest_type) (e.getPDU().o);

        // Create a search response
        PDU_type pdu = new PDU_type();
        pdu.which = PDU_type.searchresponse_CID;

        SearchResponse_type response = new SearchResponse_type();
        pdu.o = response;
View Full Code Here

Examples of com.k_int.gen.Z39_50_APDU_1995.PDU_type

            //default to full record.
            requested_element_set = GeoProfile.FULL_SET;
        }

        // Create a present response
        PDU_type pdu = new PDU_type();
        pdu.which = PDU_type.presentresponse_CID;

        PresentResponse_type response = new PresentResponse_type();
        pdu.o = response;
        response.referenceId = present_request.referenceId;
View Full Code Here

Examples of com.k_int.gen.Z39_50_APDU_1995.PDU_type

        DeleteResultSetRequest_type delete_request = (DeleteResultSetRequest_type) (e
            .getPDU().o);

        // Create a DeleteResultSetResponse
        PDU_type pdu = new PDU_type();
        pdu.which = PDU_type.deleteresultsetresponse_CID;

        DeleteResultSetResponse_type response = new DeleteResultSetResponse_type();
        pdu.o = response;
        response.referenceId = delete_request.referenceId;
View Full Code Here

Examples of org.loc.z3950.codec.Z39_50_APDU_1995.PDU_type

        return this.errorException != null;
    }

    protected PDU_type toPDU(int pduType, Object pduObject)
    {
        PDU_type pdu = new PDU_type();
        pdu.which = pduType;
        pdu.o = pduObject;

        return pdu;
    }
View Full Code Here

Examples of org.loc.z3950.codec.Z39_50_APDU_1995.PDU_type

    @Override
    public void doRegularTask()
    {
        try
        {
            PDU_type pdu = null;

            BERInputStream input = new BERInputStream(inputStream, charsetEncoding, DEFAULT_BUFFER_SIZE, ProtocolOIDRegister.getInstance());
            pdu = (PDU_type) PDU_codec.getCodec().serialize(input, pdu, false, "PDU");
            logger.debug("Received " + ToStringBuilder.reflectionToString(pdu));
View Full Code Here

Examples of org.loc.z3950.codec.Z39_50_APDU_1995.PDU_type

            synchronized (protocolHandler)
            {
                try
                {
                    PDU_type pdu = protocolHandler.produceInitializingRequest();

                    logger.debug("Sending " + ToStringBuilder.reflectionToString(pdu));

                    BEROutputStream encoder = new BEROutputStream(DEFAULT_BUFFER_SIZE, charsetEncoding, ProtocolOIDRegister.getInstance());
                    PDU_codec.getCodec().serialize(encoder, protocolHandler.produceInitializingRequest(), false, "PDU");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.