[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mico-devel
Subject:    [mico-devel] Problems with mico-ccm --service
From:       "Juan Antonio Domínguez" <dominpe () level51 ! com>
Date:       2002-05-22 14:26:56
[Download RAW message or body]

Hello,

  my problem is compiling the following idl:
interface SlaveInterface
{
    boolean init(in string config);
    boolean start();
    void stop();
    boolean startPlugin(in string plugin,in string config);
    boolean stopPlugin(in string plugin);
    boolean reloadPlugin(in string plugin);
};

component Slave supports SlaveInterface {
};

home SlaveHome manages Slave {
};

When I compile, after doing "idl --poa --boa Slave.idl" and "mico-ccm 
--standalone --service" give me the following error:

Slave_ccm.cc: In function `MICO::CCM::ContainerBase* 
deploy_SlaveHome 
(CORBA::ORB *, Components::HomeExecutorBase *)': 
Slave_ccm.cc:507: cannot convert `Components::EnterpriseComponent 
*' to `CCM_Slave *' in initialization

The line is: CCM_Slave_ptr _ci = _hi->create (); The fact is that my 
create() returns a Components::EnterpriseComponent*; well, it returns a 
CCM_Slave_ptr casting to Components::EnterpriseComponent.

Any suggestion, idea or corretion??? 

Thanks in advance.

PD: If i put --session instead of --service its compile and works correctly.
PPD: I'm a newbie :=)

-- 
Juan Antonio Domínguez
email: dominpe@level51.com
       dominpe@netscape.net
       juanantoniodominguez@hotmail.com
_______________________________________________
mico-devel mailing list
mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic