blob: a74227a4345ae40fc144acb9a8afe530ab858f9c (
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
|
#ifndef MESSENGER_H_
#define MESSENGER_H_
#include "MessengerS.h"
#include "orbsvcs/CosNotifyChannelAdminC.h"
#include <memory>
class EventSequenceSupplier_i;
class Messenger_i : public POA_Messenger
{
public:
Messenger_i (CORBA::ORB_ptr orb);
virtual ~Messenger_i ();
CORBA::Boolean send_message (
const char * user_name,
const char * subject,
char *& message);
private:
CORBA::ORB_var orb_;
CosNotifyChannelAdmin::SequenceProxyPushConsumer_var consumer_proxy_;
std::unique_ptr<EventSequenceSupplier_i> supplier_;
};
#endif
|