X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=scripting%2Fjava%2Fsrc%2Fcom%2Feasysw%2Fcups%2FIPPRequest.java;fp=scripting%2Fjava%2Fsrc%2Fcom%2Feasysw%2Fcups%2FIPPRequest.java;h=0000000000000000000000000000000000000000;hp=04d24a2aa45d476fcc861a2efa66aedbf1d16936;hb=568fa3faf16f8694653600d87955473941cc03c1;hpb=d6943d1d3132205deeb6f9ad49ca54091ab3dfe5 diff --git a/scripting/java/src/com/easysw/cups/IPPRequest.java b/scripting/java/src/com/easysw/cups/IPPRequest.java deleted file mode 100644 index 04d24a2aa..000000000 --- a/scripting/java/src/com/easysw/cups/IPPRequest.java +++ /dev/null @@ -1,88 +0,0 @@ -package com.easysw.cups; - -/** - * @version 1.00 06-NOV-2002 - * @author Apple Inc. - * - * Internet Printing Protocol definitions for the Common UNIX Printing - * System (CUPS). - * - * Copyright 2007 by Apple Inc. - * Copyright 1997-2002 by Easy Software Products. - * - * These coded instructions, statements, and computer programs are the - * property of Apple Inc. and are protected by Federal copyright - * law. Distribution and use rights are outlined in the file "LICENSE.txt" - * which should have been included with this file. If this file is - * file is missing or damaged, see the license at "http://www.cups.org/". - */ - -/** - * An IPPRequest object is used to hold the - * status and id's of a request. - * - * @author TDB - * @version 1.0 - * @since JDK1.3 - */ -public class IPPRequest -{ - char[] version; // Proto version number - int request_id; // Unique ID - - int op_status; - short operation_id; - short status_code; - - /** - * Constructor - */ - public IPPRequest() - { - version = new char[2]; - } - - /** - * Constructor using request id and operation id. - * - * @param p_request_id ID of request. - * @param p_operation_id Operation ID for request. - * - * @see IPPDefs - */ - public IPPRequest( int p_request_id, short p_operation_id ) - { - version = new char[2]; - version[0] = (char)1; - version[1] = (char)1; - request_id = p_request_id; - operation_id = p_operation_id; - } - - /** - * Set the current status of a request. - * - * @param p_status_code Status code. - * @see IPPDefs - */ - public void setStatus( short p_status_code ) - { - status_code = p_status_code; - } - - /** - * Set the operation status of a request. - * - * @param p_status_code Operation status code. - * @see IPPDefs - */ - public void setOpStatus( short p_status_code ) - { - op_status = p_status_code; - } - -} // End of IPPRequest class - - - -