#include "BusServer.hh"
+#include "OrbServerImpl.hh"
using namespace std;
using namespace plpbus;
}
int BusServer::init() {
- int retVal;
+ int retVal;
+ OrbServerImpl *impl;
retVal = 0;
- orbServer->init();
+ impl = (OrbServerImpl *)orbServer;
+ impl->init();
return retVal;
}
int BusServer::launch(const char *server_name)
{
- int retVal;
+ int retVal;
+ OrbServerImpl *impl;
- retVal = orbServer->launch(server_name);
+ impl = (OrbServerImpl *)orbServer;
+ retVal = impl->launch(server_name);
return retVal;
}
int BusServer::add_server_listener(IServerListener *listener_param)
{
- int retVal;
+ int retVal;
+ OrbServerImpl *impl;
- retVal = orbServer->add_server_listener(listener_param);
+ impl = (OrbServerImpl *)orbServer;
+ retVal = impl->add_server_listener(listener_param);
return retVal;
}
void BusServer::shutdown()
{
- orbServer->shutdown();
+ OrbServerImpl *impl;
+
+ impl = (OrbServerImpl *)orbServer;
+ impl->shutdown();
}
#include "RequestResponseBus.hh"
#include "IServerListener.hh"
-#include "OrbServerImpl.hh"
+//#include "OrbServerImpl.hh"
namespace plpbus {
class BusServer {
virtual int add_server_listener(IServerListener *listener_param);
virtual void shutdown();
private:
- OrbServerImpl *orbServer;
+ void *orbServer;
};
}