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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_CORBA_OrbFunctional__
#define __gnu_CORBA_OrbFunctional__
#pragma interface
#include <gnu/CORBA/OrbRestricted.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace CORBA
{
class Asynchron;
class Connected_objects;
class Connected_objects$cObject;
namespace GIOP
{
class MessageHeader;
class RequestHeader;
}
class IOR;
namespace NamingService
{
class NameParser;
}
class OrbFunctional;
class OrbFunctional$portServer;
namespace Poa
{
class gnuForwardRequest;
}
class ResponseHandlerImpl;
class Version;
namespace interfaces
{
class SocketFactory;
}
}
}
namespace java
{
namespace applet
{
class Applet;
}
namespace net
{
class ServerSocket;
class Socket;
}
}
namespace org
{
namespace omg
{
namespace CORBA
{
class Object;
class Request;
class SystemException;
}
}
}
}
class gnu::CORBA::OrbFunctional : public ::gnu::CORBA::OrbRestricted
{
public:
OrbFunctional();
virtual void setMaxVersion(::gnu::CORBA::Version *);
virtual ::gnu::CORBA::Version * getMaxVersion();
virtual jint getFreePort();
static void setPort(jint);
virtual void connect(::org::omg::CORBA::Object *);
virtual void connect(::org::omg::CORBA::Object *, JArray< jbyte > *);
virtual void connect_1_thread(::org::omg::CORBA::Object *, JArray< jbyte > *, ::java::lang::Object *);
virtual void startService(::gnu::CORBA::IOR *);
virtual void destroy();
virtual void disconnect(::org::omg::CORBA::Object *);
virtual void identityDestroyed(::java::lang::Object *);
virtual ::org::omg::CORBA::Object * find_local_object(::gnu::CORBA::IOR *);
virtual JArray< ::java::lang::String * > * list_initial_services();
virtual ::java::lang::String * object_to_string(::org::omg::CORBA::Object *);
virtual ::gnu::CORBA::IOR * getLocalIor(::org::omg::CORBA::Object *);
virtual ::org::omg::CORBA::Object * resolve_initial_references(::java::lang::String *);
virtual void run();
virtual void ensureRunning();
virtual void shutdown(jboolean);
virtual ::org::omg::CORBA::Object * string_to_object(::java::lang::String *);
virtual ::org::omg::CORBA::Object * ior_to_object(::gnu::CORBA::IOR *);
public: // actually protected
virtual ::org::omg::CORBA::Object * getDefaultNameService();
virtual ::org::omg::CORBA::Object * find_connected_object(JArray< jbyte > *, jint);
virtual void set_parameters(::java::applet::Applet *, ::java::util::Properties *);
virtual void set_parameters(JArray< ::java::lang::String * > *, ::java::util::Properties *);
virtual ::gnu::CORBA::IOR * createIOR(::gnu::CORBA::Connected_objects$cObject *);
virtual void prepareObject(::org::omg::CORBA::Object *, ::gnu::CORBA::IOR *);
private:
void respond_to_client(::java::io::OutputStream *, ::gnu::CORBA::GIOP::MessageHeader *, ::gnu::CORBA::GIOP::RequestHeader *, ::gnu::CORBA::ResponseHandlerImpl *, ::org::omg::CORBA::SystemException *);
void forward_request(::java::io::OutputStream *, ::gnu::CORBA::GIOP::MessageHeader *, ::gnu::CORBA::GIOP::RequestHeader *, ::gnu::CORBA::Poa::gnuForwardRequest *);
public: // actually package-private
virtual void serve(::gnu::CORBA::OrbFunctional$portServer *, ::java::net::ServerSocket *);
virtual void serveStep(::java::net::Socket *, jboolean);
public: // actually protected
virtual void useProperties(::java::util::Properties *);
public:
virtual ::org::omg::CORBA::Request * get_next_response();
virtual jboolean poll_next_response();
virtual void send_multiple_requests_deferred(JArray< ::org::omg::CORBA::Request * > *);
virtual void send_multiple_requests_oneway(JArray< ::org::omg::CORBA::Request * > *);
public: // actually protected
virtual void finalize();
public:
virtual jint countConnectedObjects();
static jint DEFAULT_INITIAL_PORT;
static jint RANDOM_PORT_FROM;
static jint RANDOM_PORT_TO;
static jint RANDOM_PORT_ATTEMPTS;
static ::java::lang::String * LISTEN_ON;
static ::java::lang::String * REFERENCE;
static ::java::lang::String * NS_PORT;
static ::java::lang::String * NS_HOST;
static ::java::lang::String * NAME_SERVICE;
static ::java::lang::String * ORB_ID;
static ::java::lang::String * SERVER_ID;
static ::java::lang::String * START_READING_MESSAGE;
static ::java::lang::String * WHILE_READING;
static ::java::lang::String * AFTER_RECEIVING;
static ::java::lang::String * SERVER_ERROR_PAUSE;
::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::CORBA::OrbRestricted)))) LOCAL_HOST;
jint TOUT_START_READING_MESSAGE;
jint TOUT_WHILE_READING;
jint TOUT_AFTER_RECEIVING;
jint TWAIT_SERVER_ERROR_PAUSE;
static jint TANDEM_REQUESTS;
::java::lang::String * orb_id;
static ::java::lang::String * server_id;
public: // actually protected
::gnu::CORBA::Connected_objects * connected_objects;
::gnu::CORBA::Version * max_version;
jboolean running;
::java::util::Map * initial_references;
::java::util::ArrayList * portServers;
private:
::java::lang::String * ns_host;
static jint Port;
jint ns_port;
public: // actually package-private
::gnu::CORBA::NamingService::NameParser * nameParser;
public: // actually protected
::gnu::CORBA::Asynchron * asynchron;
::java::util::LinkedList * freed_ports;
::java::util::Hashtable * identities;
private:
jint MAX_RUNNING_THREADS;
public:
::gnu::CORBA::interfaces::SocketFactory * socketFactory;
static ::java::lang::Class class$;
};
#endif // __gnu_CORBA_OrbFunctional__
|