From 4d1e9b18bfd950422e0e65858a22dce36cd197a8 Mon Sep 17 00:00:00 2001 From: Gasper Jansa Date: Fri, 25 Feb 2011 17:24:52 +0100 Subject: [PATCH] reverting testRemoteClientImpl --- testApp/remote/testRemoteClientImpl.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/testApp/remote/testRemoteClientImpl.cpp b/testApp/remote/testRemoteClientImpl.cpp index 6c5c0f3..c4c7ae0 100644 --- a/testApp/remote/testRemoteClientImpl.cpp +++ b/testApp/remote/testRemoteClientImpl.cpp @@ -461,17 +461,16 @@ int main(int argc,char *argv[]) channelFind->destroy(); */ ChannelRequesterImpl channelRequester; - Channel* channel = provider->createChannel("test", &channelRequester); + Channel* channel = provider->createChannel("structureArrayTest", &channelRequester); epicsThreadSleep ( 1.0 ); channel->printInfo(); - - + PVStructure* pvRequest; -/* + GetFieldRequesterImpl getFieldRequesterImpl; - channel->getField(&getFieldRequesterImpl, "alarm"); + channel->getField(&getFieldRequesterImpl, ""); epicsThreadSleep ( 1.0 ); ChannelProcessRequesterImpl channelProcessRequester; @@ -491,7 +490,7 @@ int main(int argc,char *argv[]) channelGet->destroy(); delete pvRequest; -*/ + ChannelPutRequesterImpl channelPutRequesterImpl; pvRequest = getCreateRequest()->createRequest("field(value,timeStamp)",&channelPutRequesterImpl); ChannelPut* channelPut = channel->createChannelPut(&channelPutRequesterImpl, pvRequest); @@ -502,7 +501,7 @@ int main(int argc,char *argv[]) epicsThreadSleep ( 1.0 ); channelPut->destroy(); delete pvRequest; -/* + ChannelPutGetRequesterImpl channelPutGetRequesterImpl; pvRequest = getCreateRequest()->createRequest("putField(value,timeStamp)getField(timeStamp)",&channelPutGetRequesterImpl); ChannelPutGet* channelPutGet = channel->createChannelPutGet(&channelPutGetRequesterImpl, pvRequest); @@ -562,7 +561,7 @@ int main(int argc,char *argv[]) monitor->destroy(); delete pvRequest; - epicsThreadSleep ( 3.0 );*/ + epicsThreadSleep ( 3.0 ); printf("Destroying channel... \n"); channel->destroy(); printf("done.\n");