/* -*- C++ -*- $Id: Messenger_i.h 78192 2007-04-25 09:42:55Z johnnyw $ */

#ifndef MESSENGERI_H_
#define MESSENGERI_H_

#include "MessengerS.h"

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

//Class Messenger_i
class  Messenger_i : public virtual POA_Messenger
{
public:
  //Constructor
  Messenger_i (CORBA::ORB_var orb);

  //Destructor
  virtual ~Messenger_i (void);

  virtual CORBA::Boolean send_message ( const char * user_name,
                                        const char * subject,
                                        char *& message);

  virtual CORBA::Boolean call_message (const char * user_name);
private:
  CORBA::ORB_var orb_;
};

#endif /* MESSENGERI_H_  */
