public interface IPushTarget extends IChannelTarget
Instance of this interface are usually obtained by an IPushService.
This interface extends IChannelTarget, and thus provides methods familiar to
AjaxRequestTarget users.
The specificities of IPushTarget is that you have to call #trigger() excplictly when you want the events to actually be send to the client. Until the #trigger() method is called, events are simply queued.
The #isConnected() method allows to check if the target is still connected to the client. It is up to the user to call this method before calling any method asking for clients updates.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isConnected() |
void |
trigger() |
addComponent, addComponent, appendJavaScript, focusComponent, prependJavaScriptCopyright © 2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.