Page 1 of 1

Remoting4 API

Posted: 18 Mar 2014, 16:48
by mofo7777
Hello.

Using the cluster class in C++/CLI, there is "GetVentuzInfo" wich returns (System::Threading::Tasks::Task<Ventuz::Remoting4::VentuzInfo>^).
Request the Ventuz::Remoting4::VentuzInfo of all conneted machines. If a Ventuz::Remoting4::VentuzInfo is requested the Ventuz::Remoting4::Cluster::VentuzInfoChanged is also fired
and the property Ventuz::Remoting4::Cluster::VentuzInfo is also updated.
So GetVentuzInfo returns VentuzInfo of all conneted machines. I expect to get something like List<VentuzInfo^>^ . How to get all VentuzInfo ?

Also, how to get VentuzInfoChanged fired ? i don't know how to perform the VentuzInfo request in the code.

And finally, it seems that the GetVentuzInfo can only be called one time. With all subsequent calls, the task will never complete.

PS: the VentuzInfoChanged is fired when running/stopping the runtime.

Re: Remoting4 API

Posted: 18 Mar 2014, 17:17
by mofo7777
EDIT----------------------------------------------

Forget the one time call. It was a timeout problem.