Examples of PresentRequest_type


Examples of com.k_int.gen.Z39_50_APDU_1995.PresentRequest_type

    }

    public void incomingPresentRequest(APDUEvent e) {
        LOGGER.finer("Incoming present_Request");

        PresentRequest_type present_request = (PresentRequest_type) (e.getPDU().o);

        String requested_element_set = (String) ((ElementSetNames_type) present_request.recordComposition.o).o;

        if (requested_element_set == null) {
            //default to full record.
View Full Code Here

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

    public PDU_type produceInitializingRequest() throws ProtocolException
    {
        this.referenceId = this.association.generateReferenceId();

        PresentRequest_type presentRequest = new PresentRequest_type();
        presentRequest.referenceId = referenceId.getBytes();
        presentRequest.resultSetId = this.resultSetName;
        presentRequest.resultSetStartPoint = BigInteger.valueOf(this.firstRecord);
        presentRequest.numberOfRecordsRequested = BigInteger.valueOf(this.numOfRecords);
        presentRequest.preferredRecordSyntax = ProtocolOIDRegister.getInstance().lookupByName(this.recordFormat).getValue();
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.