1 |
761 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __org_omg_CORBA_ORB__
|
5 |
|
|
#define __org_omg_CORBA_ORB__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace applet
|
17 |
|
|
{
|
18 |
|
|
class Applet;
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
namespace org
|
22 |
|
|
{
|
23 |
|
|
namespace omg
|
24 |
|
|
{
|
25 |
|
|
namespace CORBA
|
26 |
|
|
{
|
27 |
|
|
class Any;
|
28 |
|
|
class Context;
|
29 |
|
|
class ContextList;
|
30 |
|
|
class Current;
|
31 |
|
|
class DynAny;
|
32 |
|
|
class DynArray;
|
33 |
|
|
class DynEnum;
|
34 |
|
|
class DynSequence;
|
35 |
|
|
class DynStruct;
|
36 |
|
|
class DynUnion;
|
37 |
|
|
class Environment;
|
38 |
|
|
class ExceptionList;
|
39 |
|
|
class NVList;
|
40 |
|
|
class NamedValue;
|
41 |
|
|
class ORB;
|
42 |
|
|
class Object;
|
43 |
|
|
class Policy;
|
44 |
|
|
class Request;
|
45 |
|
|
class ServiceInformationHolder;
|
46 |
|
|
class StructMember;
|
47 |
|
|
class TCKind;
|
48 |
|
|
class TypeCode;
|
49 |
|
|
class UnionMember;
|
50 |
|
|
class ValueMember;
|
51 |
|
|
namespace portable
|
52 |
|
|
{
|
53 |
|
|
class OutputStream;
|
54 |
|
|
}
|
55 |
|
|
}
|
56 |
|
|
}
|
57 |
|
|
}
|
58 |
|
|
}
|
59 |
|
|
|
60 |
|
|
class org::omg::CORBA::ORB : public ::java::lang::Object
|
61 |
|
|
{
|
62 |
|
|
|
63 |
|
|
public:
|
64 |
|
|
ORB();
|
65 |
|
|
virtual void connect(::org::omg::CORBA::Object *);
|
66 |
|
|
virtual void disconnect(::org::omg::CORBA::Object *);
|
67 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_recursive_sequence_tc(jint, jint) = 0;
|
68 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_alias_tc(::java::lang::String *, ::java::lang::String *, ::org::omg::CORBA::TypeCode *) = 0;
|
69 |
|
|
virtual ::org::omg::CORBA::Any * create_any() = 0;
|
70 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_array_tc(jint, ::org::omg::CORBA::TypeCode *) = 0;
|
71 |
|
|
virtual ::org::omg::CORBA::ContextList * create_context_list() = 0;
|
72 |
|
|
virtual ::org::omg::CORBA::DynAny * create_basic_dyn_any(::org::omg::CORBA::TypeCode *);
|
73 |
|
|
virtual ::org::omg::CORBA::DynAny * create_dyn_any(::org::omg::CORBA::Any *);
|
74 |
|
|
virtual ::org::omg::CORBA::DynArray * create_dyn_array(::org::omg::CORBA::TypeCode *);
|
75 |
|
|
virtual ::org::omg::CORBA::DynEnum * create_dyn_enum(::org::omg::CORBA::TypeCode *);
|
76 |
|
|
virtual ::org::omg::CORBA::DynSequence * create_dyn_sequence(::org::omg::CORBA::TypeCode *);
|
77 |
|
|
virtual ::org::omg::CORBA::DynStruct * create_dyn_struct(::org::omg::CORBA::TypeCode *);
|
78 |
|
|
virtual ::org::omg::CORBA::DynUnion * create_dyn_union(::org::omg::CORBA::TypeCode *);
|
79 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_enum_tc(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
|
80 |
|
|
virtual ::org::omg::CORBA::Environment * create_environment() = 0;
|
81 |
|
|
virtual ::org::omg::CORBA::ExceptionList * create_exception_list() = 0;
|
82 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_exception_tc(::java::lang::String *, ::java::lang::String *, JArray< ::org::omg::CORBA::StructMember * > *) = 0;
|
83 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_fixed_tc(jshort, jshort);
|
84 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_interface_tc(::java::lang::String *, ::java::lang::String *) = 0;
|
85 |
|
|
virtual ::org::omg::CORBA::NVList * create_list(jint) = 0;
|
86 |
|
|
virtual ::org::omg::CORBA::NamedValue * create_named_value(::java::lang::String *, ::org::omg::CORBA::Any *, jint) = 0;
|
87 |
|
|
virtual void send_multiple_requests_oneway(JArray< ::org::omg::CORBA::Request * > *) = 0;
|
88 |
|
|
virtual void send_multiple_requests_deferred(JArray< ::org::omg::CORBA::Request * > *) = 0;
|
89 |
|
|
virtual jboolean poll_next_response() = 0;
|
90 |
|
|
virtual ::org::omg::CORBA::Request * get_next_response() = 0;
|
91 |
|
|
virtual ::org::omg::CORBA::portable::OutputStream * create_output_stream() = 0;
|
92 |
|
|
virtual ::org::omg::CORBA::NVList * create_operation_list(::org::omg::CORBA::Object *);
|
93 |
|
|
virtual ::org::omg::CORBA::Policy * create_policy(jint, ::org::omg::CORBA::Any *);
|
94 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_sequence_tc(jint, ::org::omg::CORBA::TypeCode *) = 0;
|
95 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_string_tc(jint) = 0;
|
96 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_struct_tc(::java::lang::String *, ::java::lang::String *, JArray< ::org::omg::CORBA::StructMember * > *) = 0;
|
97 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_union_tc(::java::lang::String *, ::java::lang::String *, ::org::omg::CORBA::TypeCode *, JArray< ::org::omg::CORBA::UnionMember * > *) = 0;
|
98 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_wstring_tc(jint) = 0;
|
99 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_abstract_interface_tc(::java::lang::String *, ::java::lang::String *);
|
100 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_native_tc(::java::lang::String *, ::java::lang::String *);
|
101 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_recursive_tc(::java::lang::String *);
|
102 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_value_box_tc(::java::lang::String *, ::java::lang::String *, ::org::omg::CORBA::TypeCode *);
|
103 |
|
|
virtual ::org::omg::CORBA::TypeCode * create_value_tc(::java::lang::String *, ::java::lang::String *, jshort, ::org::omg::CORBA::TypeCode *, JArray< ::org::omg::CORBA::ValueMember * > *);
|
104 |
|
|
virtual ::org::omg::CORBA::Current * get_current();
|
105 |
|
|
virtual jboolean get_service_information(jshort, ::org::omg::CORBA::ServiceInformationHolder *);
|
106 |
|
|
virtual ::org::omg::CORBA::Context * get_default_context() = 0;
|
107 |
|
|
virtual ::org::omg::CORBA::TypeCode * get_primitive_tc(::org::omg::CORBA::TCKind *) = 0;
|
108 |
|
|
static ::org::omg::CORBA::ORB * init();
|
109 |
|
|
static ::org::omg::CORBA::ORB * init(::java::applet::Applet *, ::java::util::Properties *);
|
110 |
|
|
static ::org::omg::CORBA::ORB * init(JArray< ::java::lang::String * > *, ::java::util::Properties *);
|
111 |
|
|
virtual JArray< ::java::lang::String * > * list_initial_services() = 0;
|
112 |
|
|
virtual ::org::omg::CORBA::Object * resolve_initial_references(::java::lang::String *) = 0;
|
113 |
|
|
virtual ::java::lang::String * object_to_string(::org::omg::CORBA::Object *) = 0;
|
114 |
|
|
virtual void perform_work();
|
115 |
|
|
virtual jboolean work_pending();
|
116 |
|
|
virtual ::org::omg::CORBA::Object * string_to_object(::java::lang::String *) = 0;
|
117 |
|
|
virtual void run();
|
118 |
|
|
virtual void shutdown(jboolean);
|
119 |
|
|
virtual void destroy();
|
120 |
|
|
public: // actually protected
|
121 |
|
|
virtual void set_parameters(JArray< ::java::lang::String * > *, ::java::util::Properties *) = 0;
|
122 |
|
|
virtual void set_parameters(::java::applet::Applet *, ::java::util::Properties *) = 0;
|
123 |
|
|
private:
|
124 |
|
|
static ::java::lang::String * getCumulatedProperty(::java::util::Properties *, ::java::lang::String *);
|
125 |
|
|
static ::java::lang::String * checkFile(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
126 |
|
|
static ::org::omg::CORBA::ORB * createORB(::java::util::Properties *, ::java::lang::String *);
|
127 |
|
|
static void noORB(::java::lang::String *, ::java::lang::Throwable *);
|
128 |
|
|
static ::java::lang::String * FUNCTIONAL_ORB;
|
129 |
|
|
static ::java::lang::String * RESTRICTED_ORB;
|
130 |
|
|
static ::java::lang::String * LISTENER_PORT;
|
131 |
|
|
static ::java::lang::String * DEFAULT_FUNCTIONAL_ORB;
|
132 |
|
|
static ::java::lang::String * DEFAULT_FOCUSED_ORB;
|
133 |
|
|
public:
|
134 |
|
|
static ::java::lang::Class class$;
|
135 |
|
|
};
|
136 |
|
|
|
137 |
|
|
#endif // __org_omg_CORBA_ORB__
|