Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » CmdBlock ParamList Question
CmdBlock ParamList Question [message #100608] Fri, 08 June 2007 04:38
Eclipse UserFriend
Originally posted by: guyfromindia.gmail.com

Hello, I have a C++ Agent talking to a Java Client
In my Agent, I am sending a CmdBlock that contains a paramList of name-value
pairs...e.g.

>>>>>> CmdBlock* cmd = new CmdBlock();
>>>>>> //Initialize paramList for key value pairs
>>>>>> tptp_list_t* paramList = (tptp_list_t*)tptp_malloc(
>>>>>>sizeof(tptp_list_t));
>>>>>> tptp_list_init(paramList);
>>>>>> ...
>>>>>>//create and add parameters
>>>>>>...
>>>>>> cmd->setIID("org.mycompany.samplestuff");
>>>>>> cmd->setCommandName("log");
>>>>>> cmd->setParamList(paramList);
>>>>>> sendEventNotifications(cmd);

On the Java side, I am getting notified on 'incomingCommand'...

** Question:
** How can I get back the values that I sent in 'paramList' on the Java
side? It will be great if I can see an example implementation..

TIA
Raj
Previous Topic:TPTP4.3.1 release build(TPTP-4.3.1-200702221346) can't profing websphere6.0
Next Topic:TPTP Code Generation Problems
Goto Forum:
  


Current Time: Thu Apr 25 10:51:17 GMT 2024

Powered by FUDForum. Page generated in 0.02759 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top