TransientContext.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_CORBA_NamingService_TransientContext__
  3. #define __gnu_CORBA_NamingService_TransientContext__
  4. #pragma interface
  5. #include <org/omg/CosNaming/_NamingContextImplBase.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace CORBA
  12. {
  13. namespace NamingService
  14. {
  15. class NamingMap;
  16. class TransientContext;
  17. }
  18. }
  19. }
  20. namespace org
  21. {
  22. namespace omg
  23. {
  24. namespace CORBA
  25. {
  26. class Object;
  27. }
  28. namespace CosNaming
  29. {
  30. class Binding;
  31. class BindingIteratorHolder;
  32. class BindingListHolder;
  33. class BindingType;
  34. class NameComponent;
  35. class NamingContext;
  36. }
  37. }
  38. }
  39. }
  40. class gnu::CORBA::NamingService::TransientContext : public ::org::omg::CosNaming::_NamingContextImplBase
  41. {
  42. public:
  43. TransientContext();
  44. TransientContext(::gnu::CORBA::NamingService::NamingMap *, ::gnu::CORBA::NamingService::NamingMap *);
  45. virtual void bind(JArray< ::org::omg::CosNaming::NameComponent * > *, ::org::omg::CORBA::Object *);
  46. virtual void bind_context(JArray< ::org::omg::CosNaming::NameComponent * > *, ::org::omg::CosNaming::NamingContext *);
  47. virtual ::org::omg::CosNaming::NamingContext * bind_new_context(JArray< ::org::omg::CosNaming::NameComponent * > *);
  48. virtual void destroy();
  49. virtual void list(jint, ::org::omg::CosNaming::BindingListHolder *, ::org::omg::CosNaming::BindingIteratorHolder *);
  50. virtual ::org::omg::CosNaming::NamingContext * new_context();
  51. virtual void rebind(JArray< ::org::omg::CosNaming::NameComponent * > *, ::org::omg::CORBA::Object *);
  52. virtual void rebind_context(JArray< ::org::omg::CosNaming::NameComponent * > *, ::org::omg::CosNaming::NamingContext *);
  53. virtual ::org::omg::CORBA::Object * resolve(JArray< ::org::omg::CosNaming::NameComponent * > *);
  54. virtual void unbind(JArray< ::org::omg::CosNaming::NameComponent * > *);
  55. private:
  56. JArray< ::org::omg::CosNaming::NameComponent * > * getSuffix(JArray< ::org::omg::CosNaming::NameComponent * > *);
  57. ::org::omg::CosNaming::Binding * mkBinding(::java::lang::Object *, ::org::omg::CosNaming::BindingType *);
  58. ::org::omg::CORBA::Object * resolveSubContext(JArray< ::org::omg::CosNaming::NameComponent * > *);
  59. static const jlong serialVersionUID = 2LL;
  60. public: // actually protected
  61. ::gnu::CORBA::NamingService::NamingMap * __attribute__((aligned(__alignof__( ::org::omg::CosNaming::_NamingContextImplBase)))) named_contexts;
  62. ::gnu::CORBA::NamingService::NamingMap * named_objects;
  63. public:
  64. static ::java::lang::Class class$;
  65. };
  66. #endif // __gnu_CORBA_NamingService_TransientContext__