Example #1
0
void
registry::setDefaultMethod(defaultMethodPtr const methodP) {

    this->setDefaultMethod(dynamic_cast<defaultMethod *>(methodP.get()));

    this->implP->defaultMethodP = methodP;
}
void
registry::setDefaultMethod(defaultMethodPtr const methodP) {

    this->implP->defaultMethodP = methodP;

    env_wrap env;
    
    xmlrpc_registry_set_default_method(
        &env.env_c, this->implP->c_registryP,
        &c_executeDefaultMethod, (void*) methodP.get());

    throwIfError(env);
}