2 #include <coil/Properties.h> 5 #include "EchoIceSkel.h" 20 std::cout <<
"EchoIceServant";
22 if (
m_impl == NULL)
throw std::bad_alloc();
23 std::cout <<
" created." << std::endl;
27 std::cout <<
"EchoServant: " <<
name() <<
" deleted." << std::endl;
29 virtual void echo(
const std::string& msg,
const Ice::Current&)
31 std::cout <<
"servant" <<
name() <<
"::echo() was called" << std::endl;
43 std::cout <<
"EchoIceInit";
44 IceManager::instance().registerFactory(
"EchoSample",
45 doil::New<EchoIce::EchoServant>,
46 doil::Delete<EchoIce::EchoServant>);
47 std::cout <<
" done" << std::endl;
virtual const char * name() const
virtual void echo(std::string msg)=0
virtual void echo(const std::string &msg, const Ice::Current &)
EchoServant(doil::ImplBase *impl)
prop
Organization::get_organization_property ();.
Class represents a set of properties.
void EchoIceInit(coil::Properties &prop)