blob: 069f96423ca6f5cb2ca431ecd00d586e1d044a0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_javax_print_ipp_IppRequest__
#define __gnu_javax_print_ipp_IppRequest__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace javax
{
namespace print
{
namespace ipp
{
class IppRequest;
class IppResponse;
}
}
}
}
namespace java
{
namespace net
{
class HttpURLConnection;
class URI;
}
}
namespace javax
{
namespace print
{
namespace attribute
{
class Attribute;
class AttributeSet;
}
}
}
}
class gnu::javax::print::ipp::IppRequest : public ::java::lang::Object
{
public:
IppRequest(::java::net::URI *, ::java::lang::String *, ::java::lang::String *);
private:
jint incrementRequestIdCounter();
public:
virtual jint getRequestID();
virtual void setData(::java::io::InputStream *);
virtual void setData(JArray< jbyte > *);
virtual void setOperationID(jshort);
virtual void setOperationAttributeDefaults();
virtual void addJobAttribute(::javax::print::attribute::Attribute *);
virtual void addPrinterAttributes(::javax::print::attribute::Attribute *);
virtual void addOperationAttribute(::javax::print::attribute::Attribute *);
virtual void addAndFilterJobOperationAttributes(::javax::print::attribute::AttributeSet *);
virtual void addAndFilterJobTemplateAttributes(::javax::print::attribute::AttributeSet *);
virtual ::gnu::javax::print::ipp::IppResponse * send();
private:
static const jint timeout = 1000;
public: // actually package-private
static ::java::util::logging::Logger * logger;
private:
static jint requestIdCounter;
static const jshort VERSION = 257;
jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) alreadySent;
jshort operation_id;
jint request_id;
::javax::print::attribute::AttributeSet * operationAttributes;
::javax::print::attribute::AttributeSet * printerAttributes;
::javax::print::attribute::AttributeSet * jobAttributes;
::java::lang::Object * data;
::java::net::URI * requestUri;
::java::net::HttpURLConnection * connection;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_javax_print_ipp_IppRequest__
|