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