start of command line pvrpc tool, change test server to print rpc request structure

This commit is contained in:
jrowlandls
2011-11-24 17:08:30 +00:00
parent 737a17cc3a
commit 465123ef0f
4 changed files with 300 additions and 0 deletions

View File

@@ -395,6 +395,9 @@ class MockChannelRPC : public ChannelRPC
virtual void request(epics::pvData::PVStructure::shared_pointer const & pvArgument, bool lastRequest)
{
std::string s;
pvArgument->toString(&s);
std::cout << "RPC" << std::endl << s << std::endl;
m_channelRPCRequester->requestDone(Status::OK, m_pvStructure);
if (lastRequest)
destroy();