Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Benchmark / test_i.cpp
blob83e4589c1ee43a22a5b99e762bd8edc3765485d1
1 #include "test_i.h"
2 #include "marker.h"
3 #include "ace/OS_NS_string.h"
5 Secure_Vault_i::Secure_Vault_i (CORBA::ORB_ptr orb)
6 : orb_ (CORBA::ORB::_duplicate (orb))
9 // ctor
11 CORBA::Short
12 Secure_Vault_i::ready ()
14 return 1;
17 void
18 Secure_Vault_i::authenticate (const char * user)
20 if (ACE_OS::strcmp (user, "root") != 0)
21 throw Test_Interceptors::Invalid ();
24 CORBA::Long
25 Secure_Vault_i::update_records (CORBA::Long,
26 const Test_Interceptors::Secure_Vault::Record &)
28 return 1;
31 void
32 Secure_Vault_i::shutdown ()
34 this->orb_->shutdown (false);