2 #include <coil/Properties.h> 5 #include "EchoCORBASkel.h" 12 public virtual POA_EchoCORBA::EchoSample
18 std::cout <<
"EchoCORBAServant" << std::endl;
19 std::cout <<
"id : " << impl->
id() << std::endl;
20 std::cout <<
"name: " << impl->
name() << std::endl;
26 std::cout <<
"Error!!!!!: cast failed in EchoCORBAServant" << std::endl;
27 throw std::bad_alloc();
29 std::cout <<
" was created" << std::endl;
33 std::cout <<
"EchoServant: " <<
name() <<
" deleted." << std::endl;
48 std::cout <<
"EchoCORBAInit";
49 CORBAManager::instance().registerFactory(
"EchoSample",
50 doil::New<EchoServant>,
51 doil::Delete<EchoServant>);
52 std::cout <<
" done" << std::endl;
void echo(std::string msg)
virtual const char * name() const
EchoServant(doil::ImplBase *impl)
void EchoCORBAInit(coil::Properties &prop)
virtual const char * id()=0
prop
Organization::get_organization_property ();.
virtual const char * name()=0
Class represents a set of properties.
void echo(const char *msg)