reduce noise

This commit is contained in:
Michael Davidsaver
2016-04-26 11:21:51 -04:00
parent 3f5acb4a9b
commit e88bef7fbc
3 changed files with 1 additions and 9 deletions

View File

@@ -99,11 +99,9 @@ GWServerChannelProvider::createChannel(std::string const & channelName,
}
if(!ret) {
std::cerr<<"GWServer refusing channel "<<channelName<<"\n";
pvd::Status S(pvd::Status::STATUSTYPE_ERROR, "Not found");
channelRequester->channelCreated(S, ret);
} else {
std::cerr<<"GWServer connecting channel "<<channelName<<" as "<<newName<<"\n";
channelRequester->channelCreated(pvd::Status::Ok, ret);
channelRequester->channelStateChange(ret, pva::Channel::CONNECTED);
}
@@ -117,17 +115,14 @@ void GWServerChannelProvider::configure(epics::pvData::PVStructure::shared_point
void GWServerChannelProvider::destroy()
{
std::cout<<"GWServer destory request\n";
}
GWServerChannelProvider::GWServerChannelProvider(const pva::ChannelProvider::shared_pointer& prov)
:cache(prov)
{
std::cout<<"GW Server ctor\n";
}
GWServerChannelProvider::~GWServerChannelProvider()
{
std::cout<<"GW Server dtor\n";
}
namespace {