summaryrefslogtreecommitdiff
path: root/libjava/org/omg/CORBA/ORB.h
blob: f1489339278adf1777415e04e269239a4e69c1d9 (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __org_omg_CORBA_ORB__
#define __org_omg_CORBA_ORB__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace applet
    {
        class Applet;
    }
  }
  namespace org
  {
    namespace omg
    {
      namespace CORBA
      {
          class Any;
          class Context;
          class ContextList;
          class Current;
          class DynAny;
          class DynArray;
          class DynEnum;
          class DynSequence;
          class DynStruct;
          class DynUnion;
          class Environment;
          class ExceptionList;
          class NVList;
          class NamedValue;
          class ORB;
          class Object;
          class Policy;
          class Request;
          class ServiceInformationHolder;
          class StructMember;
          class TCKind;
          class TypeCode;
          class UnionMember;
          class ValueMember;
        namespace portable
        {
            class OutputStream;
        }
      }
    }
  }
}

class org::omg::CORBA::ORB : public ::java::lang::Object
{

public:
  ORB();
  virtual void connect(::org::omg::CORBA::Object *);
  virtual void disconnect(::org::omg::CORBA::Object *);
  virtual ::org::omg::CORBA::TypeCode * create_recursive_sequence_tc(jint, jint) = 0;
  virtual ::org::omg::CORBA::TypeCode * create_alias_tc(::java::lang::String *, ::java::lang::String *, ::org::omg::CORBA::TypeCode *) = 0;
  virtual ::org::omg::CORBA::Any * create_any() = 0;
  virtual ::org::omg::CORBA::TypeCode * create_array_tc(jint, ::org::omg::CORBA::TypeCode *) = 0;
  virtual ::org::omg::CORBA::ContextList * create_context_list() = 0;
  virtual ::org::omg::CORBA::DynAny * create_basic_dyn_any(::org::omg::CORBA::TypeCode *);
  virtual ::org::omg::CORBA::DynAny * create_dyn_any(::org::omg::CORBA::Any *);
  virtual ::org::omg::CORBA::DynArray * create_dyn_array(::org::omg::CORBA::TypeCode *);
  virtual ::org::omg::CORBA::DynEnum * create_dyn_enum(::org::omg::CORBA::TypeCode *);
  virtual ::org::omg::CORBA::DynSequence * create_dyn_sequence(::org::omg::CORBA::TypeCode *);
  virtual ::org::omg::CORBA::DynStruct * create_dyn_struct(::org::omg::CORBA::TypeCode *);
  virtual ::org::omg::CORBA::DynUnion * create_dyn_union(::org::omg::CORBA::TypeCode *);
  virtual ::org::omg::CORBA::TypeCode * create_enum_tc(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
  virtual ::org::omg::CORBA::Environment * create_environment() = 0;
  virtual ::org::omg::CORBA::ExceptionList * create_exception_list() = 0;
  virtual ::org::omg::CORBA::TypeCode * create_exception_tc(::java::lang::String *, ::java::lang::String *, JArray< ::org::omg::CORBA::StructMember * > *) = 0;
  virtual ::org::omg::CORBA::TypeCode * create_fixed_tc(jshort, jshort);
  virtual ::org::omg::CORBA::TypeCode * create_interface_tc(::java::lang::String *, ::java::lang::String *) = 0;
  virtual ::org::omg::CORBA::NVList * create_list(jint) = 0;
  virtual ::org::omg::CORBA::NamedValue * create_named_value(::java::lang::String *, ::org::omg::CORBA::Any *, jint) = 0;
  virtual void send_multiple_requests_oneway(JArray< ::org::omg::CORBA::Request * > *) = 0;
  virtual void send_multiple_requests_deferred(JArray< ::org::omg::CORBA::Request * > *) = 0;
  virtual jboolean poll_next_response() = 0;
  virtual ::org::omg::CORBA::Request * get_next_response() = 0;
  virtual ::org::omg::CORBA::portable::OutputStream * create_output_stream() = 0;
  virtual ::org::omg::CORBA::NVList * create_operation_list(::org::omg::CORBA::Object *);
  virtual ::org::omg::CORBA::Policy * create_policy(jint, ::org::omg::CORBA::Any *);
  virtual ::org::omg::CORBA::TypeCode * create_sequence_tc(jint, ::org::omg::CORBA::TypeCode *) = 0;
  virtual ::org::omg::CORBA::TypeCode * create_string_tc(jint) = 0;
  virtual ::org::omg::CORBA::TypeCode * create_struct_tc(::java::lang::String *, ::java::lang::String *, JArray< ::org::omg::CORBA::StructMember * > *) = 0;
  virtual ::org::omg::CORBA::TypeCode * create_union_tc(::java::lang::String *, ::java::lang::String *, ::org::omg::CORBA::TypeCode *, JArray< ::org::omg::CORBA::UnionMember * > *) = 0;
  virtual ::org::omg::CORBA::TypeCode * create_wstring_tc(jint) = 0;
  virtual ::org::omg::CORBA::TypeCode * create_abstract_interface_tc(::java::lang::String *, ::java::lang::String *);
  virtual ::org::omg::CORBA::TypeCode * create_native_tc(::java::lang::String *, ::java::lang::String *);
  virtual ::org::omg::CORBA::TypeCode * create_recursive_tc(::java::lang::String *);
  virtual ::org::omg::CORBA::TypeCode * create_value_box_tc(::java::lang::String *, ::java::lang::String *, ::org::omg::CORBA::TypeCode *);
  virtual ::org::omg::CORBA::TypeCode * create_value_tc(::java::lang::String *, ::java::lang::String *, jshort, ::org::omg::CORBA::TypeCode *, JArray< ::org::omg::CORBA::ValueMember * > *);
  virtual ::org::omg::CORBA::Current * get_current();
  virtual jboolean get_service_information(jshort, ::org::omg::CORBA::ServiceInformationHolder *);
  virtual ::org::omg::CORBA::Context * get_default_context() = 0;
  virtual ::org::omg::CORBA::TypeCode * get_primitive_tc(::org::omg::CORBA::TCKind *) = 0;
  static ::org::omg::CORBA::ORB * init();
  static ::org::omg::CORBA::ORB * init(::java::applet::Applet *, ::java::util::Properties *);
  static ::org::omg::CORBA::ORB * init(JArray< ::java::lang::String * > *, ::java::util::Properties *);
  virtual JArray< ::java::lang::String * > * list_initial_services() = 0;
  virtual ::org::omg::CORBA::Object * resolve_initial_references(::java::lang::String *) = 0;
  virtual ::java::lang::String * object_to_string(::org::omg::CORBA::Object *) = 0;
  virtual void perform_work();
  virtual jboolean work_pending();
  virtual ::org::omg::CORBA::Object * string_to_object(::java::lang::String *) = 0;
  virtual void run();
  virtual void shutdown(jboolean);
  virtual void destroy();
public: // actually protected
  virtual void set_parameters(JArray< ::java::lang::String * > *, ::java::util::Properties *) = 0;
  virtual void set_parameters(::java::applet::Applet *, ::java::util::Properties *) = 0;
private:
  static ::java::lang::String * getCumulatedProperty(::java::util::Properties *, ::java::lang::String *);
  static ::java::lang::String * checkFile(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  static ::org::omg::CORBA::ORB * createORB(::java::util::Properties *, ::java::lang::String *);
  static void noORB(::java::lang::String *, ::java::lang::Throwable *);
  static ::java::lang::String * FUNCTIONAL_ORB;
  static ::java::lang::String * RESTRICTED_ORB;
  static ::java::lang::String * LISTENER_PORT;
  static ::java::lang::String * DEFAULT_FUNCTIONAL_ORB;
  static ::java::lang::String * DEFAULT_FOCUSED_ORB;
public:
  static ::java::lang::Class class$;
};

#endif // __org_omg_CORBA_ORB__