blob: 3dc5bc535be8a8ba5ca0ab64bb1d5c4081dffc1c (
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
|
#include "ace/Log_Msg.h"
// $Id$
#include "ace/Service_Config.h"
#include "Notification_Receiver_i.h"
#if defined (ACE_HAS_ORBIX)
Notification_Receiver_i::Notification_Receiver_i (void)
{
}
Notification_Receiver_i::~Notification_Receiver_i (void)
{
}
// Inform the <Event_Comm::Notification_Receiver> that <event> has occurred.
void
Notification_Receiver_i::receive_notification
(const Event_Comm::Notification ¬ification,
CORBA::Environment &IT_env)
{
const char *tmpstr = notification.tag_;
ACE_DEBUG ((LM_DEBUG, "**** got notification = %s\n", tmpstr));
}
// Disconnect the <Event_Comm::Notification_Receiver> from the <Event_Comm::Notifier>.
void
Notification_Receiver_i::disconnect (const char *reason,
CORBA::Environment &IT_env)
{
ACE_DEBUG ((LM_DEBUG, "**** got disconnected due to %s\n", reason));
ACE_Service_Config::end_reactor_event_loop ();
}
#endif /* ACE_HAS_ORBIX */
|