The server-push-class Element

From Documentation

The server-push-class Element


[Optional][Default: depends on device and what edition you use]

It specifies which class used to implement the server-push feature. The class must have a default constructor (without any argument), and implement the ServerPush interface.


In addition to configuring the application's default implementation, you can choose an implement for a particular class by the use of DesktopCtrl.enableServerPush(ServerPush). For example,

((DesktopCtrl)desktop).enableServerPush(new org.zkoss.zk.ui.impl.PollingServerPush());

Version History

Last Update : 2011/08/05

Version Date Content

Last Update : 2011/08/05

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.