1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_CORBA_gnuRequest__
|
5 |
|
|
#define __gnu_CORBA_gnuRequest__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <org/omg/CORBA/Request.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace CORBA
|
17 |
|
|
{
|
18 |
|
|
namespace CDR
|
19 |
|
|
{
|
20 |
|
|
class BufferedCdrOutput;
|
21 |
|
|
class BufferredCdrInput;
|
22 |
|
|
}
|
23 |
|
|
namespace GIOP
|
24 |
|
|
{
|
25 |
|
|
class MessageHeader;
|
26 |
|
|
class ReplyHeader;
|
27 |
|
|
class RequestHeader;
|
28 |
|
|
}
|
29 |
|
|
class IOR;
|
30 |
|
|
class RawReply;
|
31 |
|
|
class StreamBasedRequest;
|
32 |
|
|
class Version;
|
33 |
|
|
class gnuNVList;
|
34 |
|
|
class gnuRequest;
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
namespace org
|
38 |
|
|
{
|
39 |
|
|
namespace omg
|
40 |
|
|
{
|
41 |
|
|
namespace CORBA
|
42 |
|
|
{
|
43 |
|
|
class Any;
|
44 |
|
|
class Context;
|
45 |
|
|
class ContextList;
|
46 |
|
|
class Environment;
|
47 |
|
|
class ExceptionList;
|
48 |
|
|
class NVList;
|
49 |
|
|
class NamedValue;
|
50 |
|
|
class ORB;
|
51 |
|
|
class Object;
|
52 |
|
|
class Policy;
|
53 |
|
|
class SystemException;
|
54 |
|
|
class TypeCode;
|
55 |
|
|
}
|
56 |
|
|
namespace IOP
|
57 |
|
|
{
|
58 |
|
|
class ServiceContext;
|
59 |
|
|
class TaggedComponent;
|
60 |
|
|
class TaggedProfile;
|
61 |
|
|
}
|
62 |
|
|
namespace PortableInterceptor
|
63 |
|
|
{
|
64 |
|
|
class ClientRequestInfo;
|
65 |
|
|
class ClientRequestInterceptorOperations;
|
66 |
|
|
}
|
67 |
|
|
}
|
68 |
|
|
}
|
69 |
|
|
}
|
70 |
|
|
|
71 |
|
|
class gnu::CORBA::gnuRequest : public ::org::omg::CORBA::Request
|
72 |
|
|
{
|
73 |
|
|
|
74 |
|
|
public:
|
75 |
|
|
gnuRequest();
|
76 |
|
|
virtual void setIor(::gnu::CORBA::IOR *);
|
77 |
|
|
virtual ::gnu::CORBA::IOR * getIor();
|
78 |
|
|
virtual void setORB(::org::omg::CORBA::ORB *);
|
79 |
|
|
virtual void setBigEndian(jboolean);
|
80 |
|
|
virtual void setOperation(::java::lang::String *);
|
81 |
|
|
virtual ::gnu::CORBA::StreamBasedRequest * getParameterStream();
|
82 |
|
|
virtual ::gnu::CORBA::gnuRequest * Clone();
|
83 |
|
|
virtual ::org::omg::CORBA::Any * add_in_arg();
|
84 |
|
|
virtual ::org::omg::CORBA::Any * add_inout_arg();
|
85 |
|
|
virtual ::org::omg::CORBA::Any * add_named_in_arg(::java::lang::String *);
|
86 |
|
|
virtual ::org::omg::CORBA::Any * add_named_inout_arg(::java::lang::String *);
|
87 |
|
|
virtual ::org::omg::CORBA::Any * add_named_out_arg(::java::lang::String *);
|
88 |
|
|
virtual ::org::omg::CORBA::Any * add_out_arg();
|
89 |
|
|
virtual ::org::omg::CORBA::NVList * arguments();
|
90 |
|
|
virtual ::org::omg::CORBA::ContextList * contexts();
|
91 |
|
|
virtual ::org::omg::CORBA::Context * ctx();
|
92 |
|
|
virtual void ctx(::org::omg::CORBA::Context *);
|
93 |
|
|
virtual ::org::omg::CORBA::Environment * env();
|
94 |
|
|
virtual ::org::omg::CORBA::ExceptionList * exceptions();
|
95 |
|
|
virtual void get_response();
|
96 |
|
|
virtual void invoke();
|
97 |
|
|
virtual ::java::lang::String * operation();
|
98 |
|
|
virtual ::org::omg::CORBA::ORB * orb();
|
99 |
|
|
virtual jboolean poll_response();
|
100 |
|
|
virtual ::org::omg::CORBA::NamedValue * result();
|
101 |
|
|
virtual ::org::omg::CORBA::Any * return_value();
|
102 |
|
|
virtual void send_deferred();
|
103 |
|
|
virtual void send_oneway();
|
104 |
|
|
virtual void set_args(::org::omg::CORBA::NVList *);
|
105 |
|
|
virtual void set_context_list(::org::omg::CORBA::ContextList *);
|
106 |
|
|
virtual void set_environment(::org::omg::CORBA::Environment *);
|
107 |
|
|
virtual void set_exceptions(::org::omg::CORBA::ExceptionList *);
|
108 |
|
|
virtual void set_operation(::java::lang::String *);
|
109 |
|
|
virtual void set_result(::org::omg::CORBA::NamedValue *);
|
110 |
|
|
virtual void set_return_type(::org::omg::CORBA::TypeCode *);
|
111 |
|
|
virtual void set_target(::org::omg::CORBA::Object *);
|
112 |
|
|
virtual ::gnu::CORBA::RawReply * submit();
|
113 |
|
|
virtual ::org::omg::CORBA::Object * target();
|
114 |
|
|
virtual ::gnu::CORBA::Version * useVersion(::gnu::CORBA::Version *);
|
115 |
|
|
virtual void waitWhileBusy();
|
116 |
|
|
private:
|
117 |
|
|
void p_invoke();
|
118 |
|
|
public: // actually package-private
|
119 |
|
|
virtual void readExceptionId(::gnu::CORBA::CDR::BufferredCdrInput *);
|
120 |
|
|
public: // actually protected
|
121 |
|
|
virtual void write_parameter_buffer(::gnu::CORBA::GIOP::MessageHeader *, ::gnu::CORBA::CDR::BufferedCdrOutput *);
|
122 |
|
|
virtual void write_parameters(::gnu::CORBA::GIOP::MessageHeader *, ::gnu::CORBA::CDR::BufferedCdrOutput *);
|
123 |
|
|
public:
|
124 |
|
|
virtual void add_request_service_context(::org::omg::IOP::ServiceContext *, jboolean);
|
125 |
|
|
virtual ::org::omg::IOP::TaggedProfile * effective_profile();
|
126 |
|
|
virtual ::org::omg::CORBA::Object * effective_target();
|
127 |
|
|
virtual ::org::omg::IOP::TaggedComponent * get_effective_component(jint);
|
128 |
|
|
virtual JArray< ::org::omg::IOP::TaggedComponent * > * get_effective_components(jint);
|
129 |
|
|
virtual ::org::omg::CORBA::Policy * get_request_policy(jint);
|
130 |
|
|
virtual ::java::lang::String * received_exception_id();
|
131 |
|
|
virtual ::org::omg::CORBA::Any * received_exception();
|
132 |
|
|
virtual ::org::omg::CORBA::Object * forward_reference();
|
133 |
|
|
virtual ::org::omg::CORBA::Any * get_slot(jint);
|
134 |
|
|
virtual jshort reply_status();
|
135 |
|
|
virtual jint request_id();
|
136 |
|
|
virtual jboolean response_expected();
|
137 |
|
|
virtual jshort sync_scope();
|
138 |
|
|
virtual ::org::omg::IOP::ServiceContext * get_request_service_context(jint);
|
139 |
|
|
virtual ::org::omg::IOP::ServiceContext * get_reply_service_context(jint);
|
140 |
|
|
virtual JArray< ::java::lang::String * > * operation_context();
|
141 |
|
|
virtual JArray< ::java::lang::String * > * ice_contexts();
|
142 |
|
|
virtual void checkDii();
|
143 |
|
|
static ::gnu::CORBA::Version * MAX_SUPPORTED;
|
144 |
|
|
static jint PAUSE_INITIAL;
|
145 |
|
|
static jint PAUSE_STEPS;
|
146 |
|
|
static jint PAUSE_MAX;
|
147 |
|
|
public: // actually package-private
|
148 |
|
|
::org::omg::PortableInterceptor::ClientRequestInterceptorOperations * __attribute__((aligned(__alignof__( ::org::omg::CORBA::Request)))) m_interceptor;
|
149 |
|
|
::org::omg::PortableInterceptor::ClientRequestInfo * m_info;
|
150 |
|
|
private:
|
151 |
|
|
static ::gnu::CORBA::RawReply * EMPTY;
|
152 |
|
|
public: // actually protected
|
153 |
|
|
::org::omg::CORBA::Context * m_context;
|
154 |
|
|
::org::omg::CORBA::ContextList * m_context_list;
|
155 |
|
|
::org::omg::CORBA::Environment * m_environment;
|
156 |
|
|
::org::omg::CORBA::ExceptionList * m_exceptions;
|
157 |
|
|
::org::omg::CORBA::NamedValue * m_result;
|
158 |
|
|
::java::lang::String * m_exception_id;
|
159 |
|
|
::org::omg::CORBA::SystemException * m_sys_ex;
|
160 |
|
|
::org::omg::CORBA::Object * m_target;
|
161 |
|
|
::java::lang::String * m_operation;
|
162 |
|
|
public:
|
163 |
|
|
::gnu::CORBA::IOR * m_forward_ior;
|
164 |
|
|
::org::omg::CORBA::Object * m_forwarding_target;
|
165 |
|
|
public: // actually protected
|
166 |
|
|
jboolean complete;
|
167 |
|
|
jboolean oneWay;
|
168 |
|
|
jboolean running;
|
169 |
|
|
::gnu::CORBA::gnuNVList * m_args;
|
170 |
|
|
::gnu::CORBA::StreamBasedRequest * m_parameter_buffer;
|
171 |
|
|
JArray< ::org::omg::CORBA::Any * > * m_slots;
|
172 |
|
|
::gnu::CORBA::GIOP::RequestHeader * m_rqh;
|
173 |
|
|
::gnu::CORBA::GIOP::ReplyHeader * m_rph;
|
174 |
|
|
private:
|
175 |
|
|
::gnu::CORBA::IOR * ior;
|
176 |
|
|
::org::omg::CORBA::ORB * orb__;
|
177 |
|
|
jboolean Big_endian;
|
178 |
|
|
public: // actually package-private
|
179 |
|
|
::gnu::CORBA::gnuRequest * redirected;
|
180 |
|
|
public:
|
181 |
|
|
static ::java::lang::Class class$;
|
182 |
|
|
};
|
183 |
|
|
|
184 |
|
|
#endif // __gnu_CORBA_gnuRequest__
|