summaryrefslogtreecommitdiff
path: root/DAnCE/dance/DAnCE_DeploymentInterceptors_Base_Impl.h
blob: 20533f11e444078652229ec9022a09fbc04151eb (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// -*- C++ -*-
/**
 * @file DAnCE_DeploymentInterceptors_Base_Impl.h
 *
 * Base, no-op interceptor.
 **/

// TAO_IDL - Generated from
// be/be_codegen.cpp:1571

#ifndef DANCE_DEPLOYMENTINTERCEPTORSI_DHYD9F_H_
#define DANCE_DEPLOYMENTINTERCEPTORSI_DHYD9F_H_

#include "dance/DAnCE_DeploymentInterceptorsC.h"
#include "dance/DAnCE_stub_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "tao/LocalObject.h"

namespace DAnCE
{
  /**
   * @class DAnCE_DeploymentInterceptor_Base
   * @brief Base, no-op interceptor implementation.
   */
  class DANCE_STUB_Export DeploymentInterceptor_Base
    : public virtual DAnCE::DeploymentInterceptor,
      public virtual ::CORBA::LocalObject
  {
  public:
    // Constructor
    DeploymentInterceptor_Base (void);

    // Destructor
    virtual ~DeploymentInterceptor_Base (void);

    virtual
      void configure (const ::Deployment::Properties & config);

    virtual
      void preprocess_plan (::Deployment::DeploymentPlan & plan);

    virtual
      void pre_install (::Deployment::DeploymentPlan & plan,
                        ::CORBA::ULong instanceRef);

    virtual
      void post_install (const ::Deployment::DeploymentPlan & plan,
                         ::CORBA::ULong index,
                         const ::CORBA::Any & reference,
                         const ::CORBA::Any & exception_thrown);

    virtual
      void post_endpoint_reference (const ::Deployment::DeploymentPlan & plan,
                                    ::CORBA::ULong connectionRef,
                                    const ::CORBA::Any & endpoint_reference,
                                    const ::CORBA::Any & exception_thrown);

    virtual
      void pre_connect (::Deployment::DeploymentPlan & plan,
                        ::CORBA::ULong connection_index,
                        ::CORBA::Any & provided_reference);

    virtual
      void post_connect (const ::Deployment::DeploymentPlan & plan,
                         ::CORBA::ULong connectionRef,
                         const ::CORBA::Any & exceptionThrown);

    virtual
      void pre_disconnect (::Deployment::DeploymentPlan & plan,
                           ::CORBA::ULong connection_index_);

    virtual
      void post_disconnect (const ::Deployment::DeploymentPlan & plan,
                            ::CORBA::ULong connectionRef,
                            const ::CORBA::Any & exceptionThrown);

    virtual
      void post_configured (const ::Deployment::DeploymentPlan & plan,
                            ::CORBA::ULong instanceRef,
                            const ::CORBA::Any & exception_thrown);

    virtual
      void post_activate (const ::Deployment::DeploymentPlan & plan,
                          ::CORBA::ULong instanceRef,
                          const ::CORBA::Any & exception_thrown);

    virtual
      void post_passivate (const ::Deployment::DeploymentPlan & plan,
                           ::CORBA::ULong instanceRef,
                           const ::CORBA::Any & exception_thrown);

    virtual
      void post_remove (const ::Deployment::DeploymentPlan & plan,
                        ::CORBA::ULong instanceRef,
                        const ::CORBA::Any & exception_thrown);

    virtual
      void unexpected_event (const ::Deployment::DeploymentPlan & plan,
                             ::CORBA::ULong instanceRef,
                             const ::CORBA::Any & exception_thrown,
                             const char *error);
  };
}


#endif /* DANCE_DEPLOYMENTINTERCEPTORSI_H_  */