// -*- C++ -*-
//
// $Id: Country_i.h 77020 2007-02-12 13:56:49Z johnnyw $

#ifndef COUNTRYI_H_
#define COUNTRYI_H_

#include "CountryS.h"

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

//Class Country_i
class Country_i : public virtual POA_Country
{
public:
  //Constructor
  Country_i (CORBA::ORB_ptr orb);

  //Destructor
  virtual ~Country_i (void);

  virtual void update_population (const char * country,
                                  CORBA::Long population);

  virtual CORBA::Object_ptr get_typed_consumer (void);

  virtual void push (const CORBA::Any & data);

  virtual void disconnect_push_consumer (void);

private:
  /// The ORB
  CORBA::ORB_var orb_;
};

#endif /* COUNTRYI_H_  */
