Implementing the Server in C++
// C++
#include <Hello_skel.h>
class Hello_impl : public Hello_skel
{
public:
Hello_impl();
virtual void print(const char*);
};
// C++
#include <CORBA.h>
#include <Hello_impl.h>
Hello_impl::Hello_impl()
{
}
void
Hello_impl::print(const char* s)
{
cout << s << endl;
}
Previous slide
Next slide
Back to first slide
View graphic version