diff options
Diffstat (limited to 'libjava/gnu/CORBA/Interceptor')
-rw-r--r-- | libjava/gnu/CORBA/Interceptor/ClientRequestInterceptors.h | 56 | ||||
-rw-r--r-- | libjava/gnu/CORBA/Interceptor/ForwardRequestHolder.h | 56 | ||||
-rw-r--r-- | libjava/gnu/CORBA/Interceptor/IORInterceptors.h | 56 | ||||
-rw-r--r-- | libjava/gnu/CORBA/Interceptor/Registrator.h | 104 | ||||
-rw-r--r-- | libjava/gnu/CORBA/Interceptor/ServerRequestInterceptors.h | 56 | ||||
-rw-r--r-- | libjava/gnu/CORBA/Interceptor/gnuClientRequestInfo.h | 86 | ||||
-rw-r--r-- | libjava/gnu/CORBA/Interceptor/gnuIcCurrent.h | 67 | ||||
-rw-r--r-- | libjava/gnu/CORBA/Interceptor/gnuIorInfo.h | 73 | ||||
-rw-r--r-- | libjava/gnu/CORBA/Interceptor/gnuServerRequestInfo.h | 104 |
9 files changed, 658 insertions, 0 deletions
diff --git a/libjava/gnu/CORBA/Interceptor/ClientRequestInterceptors.h b/libjava/gnu/CORBA/Interceptor/ClientRequestInterceptors.h new file mode 100644 index 000000000..d5dc4b1ce --- /dev/null +++ b/libjava/gnu/CORBA/Interceptor/ClientRequestInterceptors.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_CORBA_Interceptor_ClientRequestInterceptors__ +#define __gnu_CORBA_Interceptor_ClientRequestInterceptors__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace CORBA + { + namespace Interceptor + { + class ClientRequestInterceptors; + class Registrator; + } + } + } + namespace org + { + namespace omg + { + namespace PortableInterceptor + { + class ClientRequestInfo; + class ClientRequestInterceptor; + } + } + } +} + +class gnu::CORBA::Interceptor::ClientRequestInterceptors : public ::java::lang::Object +{ + +public: + ClientRequestInterceptors(::gnu::CORBA::Interceptor::Registrator *); + virtual void receive_exception(::org::omg::PortableInterceptor::ClientRequestInfo *); + virtual void receive_other(::org::omg::PortableInterceptor::ClientRequestInfo *); + virtual void receive_reply(::org::omg::PortableInterceptor::ClientRequestInfo *); + virtual void send_poll(::org::omg::PortableInterceptor::ClientRequestInfo *); + virtual void send_request(::org::omg::PortableInterceptor::ClientRequestInfo *); + virtual void destroy(); + virtual ::java::lang::String * name(); +private: + JArray< ::org::omg::PortableInterceptor::ClientRequestInterceptor * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) interceptors; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_CORBA_Interceptor_ClientRequestInterceptors__ diff --git a/libjava/gnu/CORBA/Interceptor/ForwardRequestHolder.h b/libjava/gnu/CORBA/Interceptor/ForwardRequestHolder.h new file mode 100644 index 000000000..c58ee5998 --- /dev/null +++ b/libjava/gnu/CORBA/Interceptor/ForwardRequestHolder.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_CORBA_Interceptor_ForwardRequestHolder__ +#define __gnu_CORBA_Interceptor_ForwardRequestHolder__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace CORBA + { + namespace Interceptor + { + class ForwardRequestHolder; + } + } + } + namespace org + { + namespace omg + { + namespace CORBA + { + class TypeCode; + namespace portable + { + class InputStream; + class OutputStream; + } + } + namespace PortableInterceptor + { + class ForwardRequest; + } + } + } +} + +class gnu::CORBA::Interceptor::ForwardRequestHolder : public ::java::lang::Object +{ + +public: + ForwardRequestHolder(); + ForwardRequestHolder(::org::omg::PortableInterceptor::ForwardRequest *); + virtual void _read(::org::omg::CORBA::portable::InputStream *); + virtual void _write(::org::omg::CORBA::portable::OutputStream *); + virtual ::org::omg::CORBA::TypeCode * _type(); + ::org::omg::PortableInterceptor::ForwardRequest * __attribute__((aligned(__alignof__( ::java::lang::Object)))) value; + static ::java::lang::Class class$; +}; + +#endif // __gnu_CORBA_Interceptor_ForwardRequestHolder__ diff --git a/libjava/gnu/CORBA/Interceptor/IORInterceptors.h b/libjava/gnu/CORBA/Interceptor/IORInterceptors.h new file mode 100644 index 000000000..6a2a45a75 --- /dev/null +++ b/libjava/gnu/CORBA/Interceptor/IORInterceptors.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_CORBA_Interceptor_IORInterceptors__ +#define __gnu_CORBA_Interceptor_IORInterceptors__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace CORBA + { + namespace Interceptor + { + class IORInterceptors; + class Registrator; + } + } + } + namespace org + { + namespace omg + { + namespace PortableInterceptor + { + class IORInfo; + class IORInterceptor; + class ObjectReferenceTemplate; + } + } + } +} + +class gnu::CORBA::Interceptor::IORInterceptors : public ::java::lang::Object +{ + +public: + IORInterceptors(::gnu::CORBA::Interceptor::Registrator *); + virtual void establish_components(::org::omg::PortableInterceptor::IORInfo *); + virtual void destroy(); + virtual ::java::lang::String * name(); + virtual void adapter_manager_state_changed(jint, jshort); + virtual void adapter_state_changed(JArray< ::org::omg::PortableInterceptor::ObjectReferenceTemplate * > *, jshort); + virtual void components_established(::org::omg::PortableInterceptor::IORInfo *); +private: + JArray< ::org::omg::PortableInterceptor::IORInterceptor * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) interceptors; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_CORBA_Interceptor_IORInterceptors__ diff --git a/libjava/gnu/CORBA/Interceptor/Registrator.h b/libjava/gnu/CORBA/Interceptor/Registrator.h new file mode 100644 index 000000000..8a5a3b032 --- /dev/null +++ b/libjava/gnu/CORBA/Interceptor/Registrator.h @@ -0,0 +1,104 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_CORBA_Interceptor_Registrator__ +#define __gnu_CORBA_Interceptor_Registrator__ + +#pragma interface + +#include <org/omg/CORBA/LocalObject.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace CORBA + { + namespace Interceptor + { + class Registrator; + } + namespace Poa + { + class ORB_1_4; + } + class gnuCodecFactory; + } + } + namespace org + { + namespace omg + { + namespace CORBA + { + class Object; + } + namespace IOP + { + class CodecFactory; + } + namespace PortableInterceptor + { + class ClientRequestInterceptor; + class IORInterceptor; + class Interceptor; + class PolicyFactory; + class ServerRequestInterceptor; + } + } + } +} + +class gnu::CORBA::Interceptor::Registrator : public ::org::omg::CORBA::LocalObject +{ + +public: + Registrator(::gnu::CORBA::Poa::ORB_1_4 *, ::java::util::Properties *, JArray< ::java::lang::String * > *); +private: + void checkProperties(::java::util::Properties *); + void checkFile(::java::lang::String *, ::java::lang::String *); +public: + virtual void pre_init(); + virtual ::java::util::Map * getRegisteredReferences(); + virtual void post_init(); + virtual JArray< ::org::omg::PortableInterceptor::ServerRequestInterceptor * > * getServerRequestInterceptors(); + virtual JArray< ::org::omg::PortableInterceptor::ClientRequestInterceptor * > * getClientRequestInterceptors(); + virtual JArray< ::org::omg::PortableInterceptor::IORInterceptor * > * getIORInterceptors(); + virtual void add_client_request_interceptor(::org::omg::PortableInterceptor::ClientRequestInterceptor *); + virtual void add_ior_interceptor(::org::omg::PortableInterceptor::IORInterceptor *); + virtual void add_server_request_interceptor(::org::omg::PortableInterceptor::ServerRequestInterceptor *); + virtual jint allocate_slot_id(); +private: + void add(::java::util::ArrayList *, ::org::omg::PortableInterceptor::Interceptor *); +public: + virtual JArray< ::java::lang::String * > * arguments(); + virtual ::org::omg::IOP::CodecFactory * codec_factory(); + virtual ::java::lang::String * orb_id(); + virtual void register_initial_reference(::java::lang::String *, ::org::omg::CORBA::Object *); + virtual void register_policy_factory(jint, ::org::omg::PortableInterceptor::PolicyFactory *); + virtual ::org::omg::CORBA::Object * resolve_initial_references(::java::lang::String *); + virtual jboolean hasClientRequestInterceptors(); + virtual jboolean hasServerRequestInterceptors(); + virtual jboolean hasIorInterceptors(); +private: + static const jlong serialVersionUID = 1LL; +public: + static ::java::lang::String * m_prefix; +private: + ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::org::omg::CORBA::LocalObject)))) m_server; + ::java::util::ArrayList * m_client; + ::java::util::ArrayList * m_ior; +public: + ::java::util::Hashtable * m_policyFactories; + ::java::util::TreeMap * m_references; + ::java::util::ArrayList * m_initializers; +public: // actually package-private + ::gnu::CORBA::Poa::ORB_1_4 * orb; + JArray< ::java::lang::String * > * m_args; + ::gnu::CORBA::gnuCodecFactory * m_codecFactory; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_CORBA_Interceptor_Registrator__ diff --git a/libjava/gnu/CORBA/Interceptor/ServerRequestInterceptors.h b/libjava/gnu/CORBA/Interceptor/ServerRequestInterceptors.h new file mode 100644 index 000000000..fb78c57b9 --- /dev/null +++ b/libjava/gnu/CORBA/Interceptor/ServerRequestInterceptors.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_CORBA_Interceptor_ServerRequestInterceptors__ +#define __gnu_CORBA_Interceptor_ServerRequestInterceptors__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace CORBA + { + namespace Interceptor + { + class Registrator; + class ServerRequestInterceptors; + } + } + } + namespace org + { + namespace omg + { + namespace PortableInterceptor + { + class ServerRequestInfo; + class ServerRequestInterceptor; + } + } + } +} + +class gnu::CORBA::Interceptor::ServerRequestInterceptors : public ::java::lang::Object +{ + +public: + ServerRequestInterceptors(::gnu::CORBA::Interceptor::Registrator *); + virtual void receive_request_service_contexts(::org::omg::PortableInterceptor::ServerRequestInfo *); + virtual void receive_request(::org::omg::PortableInterceptor::ServerRequestInfo *); + virtual void send_exception(::org::omg::PortableInterceptor::ServerRequestInfo *); + virtual void send_other(::org::omg::PortableInterceptor::ServerRequestInfo *); + virtual void send_reply(::org::omg::PortableInterceptor::ServerRequestInfo *); + virtual void destroy(); + virtual ::java::lang::String * name(); +private: + JArray< ::org::omg::PortableInterceptor::ServerRequestInterceptor * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) interceptors; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_CORBA_Interceptor_ServerRequestInterceptors__ diff --git a/libjava/gnu/CORBA/Interceptor/gnuClientRequestInfo.h b/libjava/gnu/CORBA/Interceptor/gnuClientRequestInfo.h new file mode 100644 index 000000000..32dac2c45 --- /dev/null +++ b/libjava/gnu/CORBA/Interceptor/gnuClientRequestInfo.h @@ -0,0 +1,86 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_CORBA_Interceptor_gnuClientRequestInfo__ +#define __gnu_CORBA_Interceptor_gnuClientRequestInfo__ + +#pragma interface + +#include <org/omg/CORBA/LocalObject.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace CORBA + { + namespace Interceptor + { + class gnuClientRequestInfo; + } + class gnuRequest; + } + } + namespace org + { + namespace omg + { + namespace CORBA + { + class Any; + class Object; + class Policy; + class TypeCode; + } + namespace Dynamic + { + class Parameter; + } + namespace IOP + { + class ServiceContext; + class TaggedComponent; + class TaggedProfile; + } + } + } +} + +class gnu::CORBA::Interceptor::gnuClientRequestInfo : public ::org::omg::CORBA::LocalObject +{ + +public: + gnuClientRequestInfo(::gnu::CORBA::gnuRequest *); + virtual void add_request_service_context(::org::omg::IOP::ServiceContext *, jboolean); + virtual ::org::omg::IOP::TaggedProfile * effective_profile(); + virtual ::org::omg::CORBA::Object * effective_target(); + virtual ::org::omg::IOP::TaggedComponent * get_effective_component(jint); + virtual JArray< ::org::omg::IOP::TaggedComponent * > * get_effective_components(jint); + virtual ::org::omg::CORBA::Policy * get_request_policy(jint); + virtual ::java::lang::String * received_exception_id(); + virtual ::org::omg::CORBA::Any * received_exception(); + virtual ::org::omg::CORBA::Object * target(); + virtual JArray< ::org::omg::Dynamic::Parameter * > * arguments(); + virtual ::org::omg::CORBA::Any * result(); + virtual JArray< ::java::lang::String * > * contexts(); + virtual JArray< ::org::omg::CORBA::TypeCode * > * exceptions(); + virtual ::org::omg::CORBA::Object * forward_reference(); + virtual JArray< ::java::lang::String * > * operation_context(); + virtual ::org::omg::CORBA::Any * get_slot(jint); + virtual ::java::lang::String * operation(); + virtual jshort reply_status(); + virtual jint request_id(); + virtual jboolean response_expected(); + virtual jshort sync_scope(); + virtual ::org::omg::IOP::ServiceContext * get_reply_service_context(jint); + virtual ::org::omg::IOP::ServiceContext * get_request_service_context(jint); +private: + static const jlong serialVersionUID = 1LL; + ::gnu::CORBA::gnuRequest * __attribute__((aligned(__alignof__( ::org::omg::CORBA::LocalObject)))) request; +public: + ::org::omg::CORBA::Any * m_wrapped_exception; + static ::java::lang::Class class$; +}; + +#endif // __gnu_CORBA_Interceptor_gnuClientRequestInfo__ diff --git a/libjava/gnu/CORBA/Interceptor/gnuIcCurrent.h b/libjava/gnu/CORBA/Interceptor/gnuIcCurrent.h new file mode 100644 index 000000000..65d85eb9d --- /dev/null +++ b/libjava/gnu/CORBA/Interceptor/gnuIcCurrent.h @@ -0,0 +1,67 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_CORBA_Interceptor_gnuIcCurrent__ +#define __gnu_CORBA_Interceptor_gnuIcCurrent__ + +#pragma interface + +#include <org/omg/CORBA/portable/ObjectImpl.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace CORBA + { + namespace Interceptor + { + class gnuIcCurrent; + } + namespace Poa + { + class ORB_1_4; + } + } + } + namespace org + { + namespace omg + { + namespace CORBA + { + class Any; + } + } + } +} + +class gnu::CORBA::Interceptor::gnuIcCurrent : public ::org::omg::CORBA::portable::ObjectImpl +{ + +public: + gnuIcCurrent(::gnu::CORBA::Poa::ORB_1_4 *); + virtual JArray< ::java::lang::String * > * _ids(); + virtual void put(::java::lang::Thread *, JArray< ::org::omg::CORBA::Any * > *); + virtual jboolean has(::java::lang::Thread *); + virtual void remove(::java::lang::Thread *); +public: // actually package-private + virtual JArray< ::org::omg::CORBA::Any * > * get_slots(); +public: + virtual JArray< ::org::omg::CORBA::Any * > * clone_slots(); + virtual ::org::omg::CORBA::Any * get_slot(jint); + virtual void set_slot(jint, ::org::omg::CORBA::Any *); +private: + static const jlong serialVersionUID = 1LL; +public: // actually package-private + ::gnu::CORBA::Poa::ORB_1_4 * __attribute__((aligned(__alignof__( ::org::omg::CORBA::portable::ObjectImpl)))) orb; +private: + ::java::util::Hashtable * threads; +public: // actually package-private + static JArray< ::org::omg::CORBA::Any * > * NO_SLOTS; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_CORBA_Interceptor_gnuIcCurrent__ diff --git a/libjava/gnu/CORBA/Interceptor/gnuIorInfo.h b/libjava/gnu/CORBA/Interceptor/gnuIorInfo.h new file mode 100644 index 000000000..8e1adcf81 --- /dev/null +++ b/libjava/gnu/CORBA/Interceptor/gnuIorInfo.h @@ -0,0 +1,73 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_CORBA_Interceptor_gnuIorInfo__ +#define __gnu_CORBA_Interceptor_gnuIorInfo__ + +#pragma interface + +#include <org/omg/CORBA/LocalObject.h> +extern "Java" +{ + namespace gnu + { + namespace CORBA + { + class IOR; + namespace Interceptor + { + class gnuIorInfo; + } + namespace Poa + { + class ORB_1_4; + class gnuPOA; + } + } + } + namespace org + { + namespace omg + { + namespace CORBA + { + class Policy; + } + namespace IOP + { + class TaggedComponent; + } + namespace PortableInterceptor + { + class ObjectReferenceFactory; + class ObjectReferenceTemplate; + } + } + } +} + +class gnu::CORBA::Interceptor::gnuIorInfo : public ::org::omg::CORBA::LocalObject +{ + +public: + gnuIorInfo(::gnu::CORBA::Poa::ORB_1_4 *, ::gnu::CORBA::Poa::gnuPOA *, ::gnu::CORBA::IOR *); + virtual void add_ior_component_to_profile(::org::omg::IOP::TaggedComponent *, jint); + virtual void add_ior_component(::org::omg::IOP::TaggedComponent *); + virtual ::org::omg::CORBA::Policy * get_effective_policy(jint); + virtual jshort state(); + virtual ::org::omg::PortableInterceptor::ObjectReferenceTemplate * adapter_template(); + virtual ::org::omg::PortableInterceptor::ObjectReferenceFactory * current_factory(); + virtual void current_factory(::org::omg::PortableInterceptor::ObjectReferenceFactory *); + virtual jint manager_id(); +private: + static const jlong serialVersionUID = 1LL; +public: + ::gnu::CORBA::Poa::ORB_1_4 * __attribute__((aligned(__alignof__( ::org::omg::CORBA::LocalObject)))) orb; + ::gnu::CORBA::Poa::gnuPOA * poa; +private: + ::gnu::CORBA::IOR * ior; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_CORBA_Interceptor_gnuIorInfo__ diff --git a/libjava/gnu/CORBA/Interceptor/gnuServerRequestInfo.h b/libjava/gnu/CORBA/Interceptor/gnuServerRequestInfo.h new file mode 100644 index 000000000..8164ea723 --- /dev/null +++ b/libjava/gnu/CORBA/Interceptor/gnuServerRequestInfo.h @@ -0,0 +1,104 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_CORBA_Interceptor_gnuServerRequestInfo__ +#define __gnu_CORBA_Interceptor_gnuServerRequestInfo__ + +#pragma interface + +#include <org/omg/CORBA/LocalObject.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace CORBA + { + namespace GIOP + { + class ReplyHeader; + class RequestHeader; + } + namespace Interceptor + { + class gnuServerRequestInfo; + } + namespace Poa + { + class gnuServantObject; + } + class gnuRequest; + } + } + namespace org + { + namespace omg + { + namespace CORBA + { + class Any; + class Object; + class Policy; + class TypeCode; + } + namespace Dynamic + { + class Parameter; + } + namespace IOP + { + class ServiceContext; + } + } + } +} + +class gnu::CORBA::Interceptor::gnuServerRequestInfo : public ::org::omg::CORBA::LocalObject +{ + +public: + gnuServerRequestInfo(::gnu::CORBA::Poa::gnuServantObject *, ::gnu::CORBA::GIOP::RequestHeader *, ::gnu::CORBA::GIOP::ReplyHeader *); + virtual void set_slot(jint, ::org::omg::CORBA::Any *); + virtual ::org::omg::CORBA::Any * get_slot(jint); + virtual void reset(); + virtual JArray< jbyte > * object_id(); + virtual jboolean target_is_a(::java::lang::String *); + virtual JArray< jbyte > * adapter_id(); + virtual ::org::omg::CORBA::Policy * get_server_policy(jint); + virtual ::java::lang::String * target_most_derived_interface(); + virtual ::java::lang::String * operation(); + virtual JArray< ::org::omg::CORBA::TypeCode * > * exceptions(); + virtual jshort reply_status(); + virtual jint request_id(); + virtual jboolean response_expected(); + virtual void add_reply_service_context(::org::omg::IOP::ServiceContext *, jboolean); + virtual ::org::omg::CORBA::Any * sending_exception(); + virtual ::org::omg::CORBA::Object * forward_reference(); + virtual ::org::omg::IOP::ServiceContext * get_reply_service_context(jint); + virtual ::org::omg::IOP::ServiceContext * get_request_service_context(jint); + virtual JArray< ::java::lang::String * > * operation_context(); + virtual ::org::omg::CORBA::Any * result(); + virtual JArray< ::java::lang::String * > * contexts(); + virtual jshort sync_scope(); + virtual JArray< ::org::omg::Dynamic::Parameter * > * arguments(); + virtual JArray< ::java::lang::String * > * adapter_name(); + virtual ::java::lang::String * orb_id(); + virtual ::java::lang::String * server_id(); +private: + static const jlong serialVersionUID = 1LL; +public: // actually package-private + ::gnu::CORBA::Poa::gnuServantObject * __attribute__((aligned(__alignof__( ::org::omg::CORBA::LocalObject)))) m_object; + static ::java::lang::String * not_available; + JArray< ::org::omg::CORBA::Any * > * m_slots; +public: + ::gnu::CORBA::GIOP::RequestHeader * m_request_header; + ::gnu::CORBA::GIOP::ReplyHeader * m_reply_header; + ::org::omg::CORBA::Object * m_forward_reference; + ::java::lang::Exception * m_sys_exception; + ::org::omg::CORBA::Any * m_usr_exception; + ::gnu::CORBA::gnuRequest * m_request; + static ::java::lang::Class class$; +}; + +#endif // __gnu_CORBA_Interceptor_gnuServerRequestInfo__ |