Hello,
I am generating a C# client using the EntireX workbench (Eclipse).
Below is an example snippet where I am calling a simple test subprogram.
[color=blue]Broker brk = new Broker(hostmane);
Service srv = new Service(brk);
srv.ServerAddress = srvName;
SYSRPC rpcCall = new SYSRPC(srv);
// Setup parameters for the call
StringBuilder p1 = new StringBuilder(“test”);
decimal p2 = 0.0;
int p3 = 0;
float p4 = 0.0;
//Make RPC Call
rpcCall.TESTS1(ref p1, ref p2, ref p3, ref p4);[/color]
This call works fine and returns the data as expected.
What I am wondering is: what kind of clean up should I make sure to do when I have finished my RPC call? I see there is a Logoff() method availble. However I am never explictly calling the LogOn() method, so should I need to call the LogOff() method?
Thank you all very much for your help.