Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Remoting4 API

All other topics about Ventuz Director here.
Post Reply
mofo7777

Remoting4 API

Post by mofo7777 » 18 Mar 2014, 16:48

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.

mofo7777

Re: Remoting4 API

Post by mofo7777 » 18 Mar 2014, 17:17

EDIT----------------------------------------------

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

Post Reply