notifier.h

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 47 行

H
47
字号
// notifier.h,v 1.1 1999/02/10 03:44:47 bala Exp

// ============================================================================
//
// = LIBRARY
//    TAO/example/Event_Comm
//
// = FILENAME
//    notifier.h
//
// = DESCRIPTION
//    This class implements notifier  driver for the Publish/Subscribe example
//
// = AUTHOR
//
// ============================================================================



class Notifier : public ACE_Event_Handler
{
  // = TITLE
  //   Notifier driver for the TAO Publish/Subscribe example.
  //
  // = DESCRIPTION
  //    The driver class for the <Event_Comm::Notifier> object.
 public:
  // = Initialization and termination methods.
  Notifier (int argc, char *argv[]);
  // Constructor.
  
  ~Notifier (void);
  // Destructor.
  
  void run (void);
  // Execute the notifier.
  
 private:
  virtual int handle_signal (int signum,
			     siginfo_t *,
			     ucontext_t *);
  // Handle signals that shut us down.
  
  Notifier_Server ns_;
  // The notifier server.
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?