blob: 7c2e2fba7d4f53c61a27e7bf66631c7f78af16b5 (
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
|
// -*- C++ -*-
//=============================================================================
/**
* @file CEC_DynamicImplementation.h
*
* $Id$
*
* @author Jon Astle (jon@astle45.fsnet.co.uk)
*/
//=============================================================================
#ifndef TAO_CEC_DYNAMICIMPLEMENTATION_H
#define TAO_CEC_DYNAMICIMPLEMENTATION_H
#include "orbsvcs/CosEvent/CEC_TypedProxyPushConsumer.h"
#include "orbsvcs/CosEvent/CEC_TypedEventChannel.h"
#include "tao/DynamicInterface/Server_Request.h"
#include "tao/DynamicInterface/Dynamic_Implementation.h"
#include "tao/ORB.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
/**
* DSI TAO_CEC_DynamicImplementationServer implementation
*
* Implements the DSI impl object
*/
class TAO_CEC_DynamicImplementationServer : public TAO_DynamicImplementation
{
public:
/// Constructor
TAO_CEC_DynamicImplementationServer (PortableServer::POA_ptr poa,
TAO_CEC_TypedProxyPushConsumer *typed_pp_consumer,
TAO_CEC_TypedEventChannel *typed_event_channel);
/// Destructor
virtual ~TAO_CEC_DynamicImplementationServer (void);
// = The DynamicImplementation methods.
virtual void invoke (CORBA::ServerRequest_ptr request);
virtual CORBA::RepositoryId _primary_interface (
const PortableServer::ObjectId &oid,
PortableServer::POA_ptr poa);
virtual PortableServer::POA_ptr _default_POA (void);
/// Handles the _is_a call
virtual void is_a (CORBA::ServerRequest_ptr request);
private:
/// The POA
PortableServer::POA_var poa_;
/// The Typed Proxy Push Consumer Implementation
TAO_CEC_TypedProxyPushConsumer *typed_pp_consumer_;
/// The Typed Event Channel Implementation
TAO_CEC_TypedEventChannel *typed_event_channel_;
/// The RepositoryId
CORBA::RepositoryId repository_id_;
};
TAO_END_VERSIONED_NAMESPACE_DECL
#if defined(__ACE_INLINE__)
#include "orbsvcs/CosEvent/CEC_DynamicImplementation.inl"
#endif /* __ACE_INLINE__ */
#endif /* TAO_CEC_DYNAMICIMPLEMENTATION_H */
|