diff options
Diffstat (limited to 'TAO/examples/POA/DSI/Database_i.h')
-rw-r--r-- | TAO/examples/POA/DSI/Database_i.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/TAO/examples/POA/DSI/Database_i.h b/TAO/examples/POA/DSI/Database_i.h index b48464d3b7f..1848038490a 100644 --- a/TAO/examples/POA/DSI/Database_i.h +++ b/TAO/examples/POA/DSI/Database_i.h @@ -18,7 +18,6 @@ public: { public: Simpler_Malloc (void); - ~Simpler_Malloc (void); }; typedef ACE_Singleton<Simpler_Malloc, ACE_Null_Mutex> DATABASE; @@ -29,8 +28,7 @@ public: { public: Entry (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Environment &); + PortableServer::POA_ptr poa); ~Entry (void); virtual void invoke (CORBA::ServerRequest_ptr request, @@ -50,7 +48,7 @@ public: // Returns the default POA for this servant. virtual void is_a (CORBA::ServerRequest_ptr request, - CORBA::Environment &env); + CORBA::Environment &env); // Handles the _is_a call protected: @@ -59,17 +57,13 @@ public: PortableServer::POA_var poa_; // Default POA - - PortableServer::Current_var poa_current_; - // POA Current. }; class Agent : public POA_Database::Agent { public: Agent (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Environment &); + PortableServer::POA_ptr poa); ~Agent (void); virtual Database::Entry_ptr create_entry (const char *key, @@ -85,8 +79,6 @@ public: const char *entry_type, CORBA::Environment &env); - virtual void shutdown (CORBA::Environment &env); - virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); // Returns the default POA for this servant. |