summaryrefslogtreecommitdiff
path: root/ACE/TAO/DevGuideExamples/Multithreading/GracefulShutdown/MessengerShutdownTimer.h
blob: ae0cb97e37dee0b84049cd58fd7d17a6a724064c (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
/* -*- C++ -*- $Id$ */

#ifndef MESSENGERSHUTDOWNTIMER_H_
#define MESSENGERSHUTDOWNTIMER_H_

#include "ace/Event_Handler.h"
#include "tao/corba.h"

class MessengerShutdownTimer : public ACE_Event_Handler
{
public:
  // Constructor
  MessengerShutdownTimer (CORBA::ORB_ptr orb);

  virtual int handle_timeout (
    const ACE_Time_Value & current_time,
    const void * act);

private:
  CORBA::ORB_var orb_;
};


#endif /* MESSENGERSHUTDOWNTIMER_H_  */