summaryrefslogtreecommitdiff
path: root/tests/Portable_Interceptors/Benchmark/test_i.h
blob: 989976d0e32470cb28fc57b65f5927c1690a3f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

//=============================================================================
/**
 *  @file   test_i.h
 *
 *  $Id$
 *
 *  @author Nanbor Wang
 */
//=============================================================================


#ifndef TAO_INTERCEPTOR_TEST_I_H
#define TAO_INTERCEPTOR_TEST_I_H

#include "testS.h"

/**
 * @class Secure_Vault_i
 *
 * Implements the Secure_Vault interface in test.idl
 */
class Secure_Vault_i : public POA_Test_Interceptors::Secure_Vault
{

public:
  /// ctor
  Secure_Vault_i (CORBA::ORB_ptr orb);

  virtual CORBA::Short ready (void);

  /// Passwd sent in the service context list
  virtual void authenticate (const char * user);

  virtual CORBA::Long update_records (CORBA::Long id,
                                      const Test_Interceptors::Secure_Vault::Record & val);

  virtual void shutdown (void);

 private:
  /// The ORB pointer (for shutdown.)
  CORBA::ORB_var orb_;
};

#endif /* TAO_INTERCEPTOR_TEST_I_H */