[Spice-devel] spice-xpi now calls JS OnDisconnected
Peter Hatina
phatina at redhat.com
Mon Aug 29 08:00:48 PDT 2011
Hello,
the update has been done as David Jasa defined. I looked at spice-x code
and their call. In spice-x, there is also a call
OnDisconnected(ErrCode), but they do not pass anything else, than exit
code of the spicec. I assume, that the correct recognition of spicec is
done by rhevm. I did some localhost tesing based on spice-x test page.
-----Original Message-----
Hi,
On 08/25/2011 11:51 AM, Peter Hatina wrote:
> Hello guys,
>
> I did some changes in spice-xpi. Now the plugin is capable to call
> JavaScript function "OnDisconnected(ErrCode)" which makes our User
> Portal more natural in behavior. When spicec quit, the User Portal gets
> notified by calling OnDisconnected and can react synchronously, so in
> future, there won't be necessary to poll every 2 sec. to check spicec
> status.
Looks good. Has the new functionality been tested? Including having
connections to 2 vms open at the same time and the on-disconnect
handler for the right one getting called?
Regards,
Hans
--
Peter Hatina
EMEA ENG-Desktop Development
Red Hat Czech, Brno
More information about the Spice-devel
mailing list