blob: 07891acfc20a2afb10adaa2f16ba03f90b523aeb (
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
46
47
48
49
50
51
52
|
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/tests/Portable_Interceptors/Benchmark
//
// = FILENAME
// test_i.h
//
// = AUTHOR
// Nanbor Wang
//
// ============================================================================
#ifndef TAO_INTERCEPTOR_TEST_I_H
#define TAO_INTERCEPTOR_TEST_I_H
#include "testS.h"
class Secure_Vault_i : public POA_Test_Interceptors::Secure_Vault
{
// = DESCRIPTION
// Implements the Secure_Vault interface in test.idl
public:
Secure_Vault_i (CORBA::ORB_ptr orb);
// ctor
virtual CORBA::Short ready (TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void authenticate (const char * user
TAO_ENV_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException,
Test_Interceptors::Invalid));
// Passwd sent in the service context list
virtual CORBA::Long update_records (CORBA::Long id,
const Test_Interceptors::Secure_Vault::Record & val
TAO_ENV_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void shutdown (TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
CORBA::ORB_var orb_;
// The ORB pointer (for shutdown.)
};
#endif /* TAO_INTERCEPTOR_TEST_I_H */
|