/* -*- C++ -*- */

//=============================================================================
/**
 *  @file   HTBP_Notifier.h
 *
 *  HTBP_Notifier.h,v 1.1 2004/11/05 04:29:02 mesnier_p Exp
 *
 *  @author Phil Mesnier, Priyanka Gontla
 */
//=============================================================================

#ifndef ACE_HTBP_NOTIFIER_H
#define ACE_HTBP_NOTIFIER_H
#include /**/ "ace/pre.h"

#include "ace/Event_Handler.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "HTBP_Export.h"

namespace ACE
{
  namespace HTBP
  {
    // Forward declarations.
    class Channel;

    class HTBP_Export Notifier : public ACE_Event_Handler
    {
    public:
      Notifier (Channel *ch);
      int handle_input(ACE_HANDLE );
      int handle_output(ACE_HANDLE );

      void unregister (void);

      ACE_HANDLE get_handle (void) const;

    private:
      Channel *channel_;
    };
  }
}

#if defined (__ACE_INLINE__)
#include "HTBP_Notifier.inl"
#endif

#include /**/ "ace/post.h"
#endif /* ACE_HTBP_NOTIFIER_H */
