blob: c8f4f82a1268786b7d75170d672177c0cbe87bbe (
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
|
// $Id$
#include "ace/Service_Config.h"
#include "Notification_Receiver_i.h"
ACE_RCSID(libsrc, Notification_Receiver_i, "$Id$")
#if defined (ACE_HAS_ORBIX) && (ACE_HAS_ORBIX != 0)
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_Reactor::end_event_loop ();
}
#endif /* ACE_HAS_ORBIX */
|