public class TimerPushService
extends org.wicketstuff.push.AbstractPushService
IPushService.
| Modifier and Type | Method and Description |
|---|---|
static TimerPushService |
get() |
static TimerPushService |
get(Application application) |
Duration |
getDefaultPollingInterval() |
Duration |
getMaxTimeLag() |
static org.wicketstuff.push.IPushServiceRef<TimerPushService> |
getRef() |
<EventType> |
installNode(Component component,
org.wicketstuff.push.IPushEventHandler<EventType> handler) |
<EventType> |
installNode(Component component,
org.wicketstuff.push.IPushEventHandler<EventType> handler,
Duration pollingInterval) |
boolean |
isConnected(org.wicketstuff.push.IPushNode<?> node) |
<EventType> |
publish(org.wicketstuff.push.IPushChannel<EventType> channel,
EventType event) |
<EventType> |
publish(org.wicketstuff.push.IPushNode<EventType> node,
EventType event) |
void |
setCleanupInterval(Duration interval)
Sets the interval in which the clean up task will be executed that removes information about
disconnected push nodes.
|
void |
setDefaultPollingInterval(Duration defaultPollingInterval) |
void |
setMaxTimeLag(Duration maxTimeLag) |
void |
uninstallNode(Component component,
org.wicketstuff.push.IPushNode<?> node) |
public static TimerPushService get()
public static TimerPushService get(Application application)
public static org.wicketstuff.push.IPushServiceRef<TimerPushService> getRef()
public Duration getDefaultPollingInterval()
public Duration getMaxTimeLag()
public <EventType> TimerPushNode<EventType> installNode(Component component, org.wicketstuff.push.IPushEventHandler<EventType> handler)
public <EventType> TimerPushNode<EventType> installNode(Component component, org.wicketstuff.push.IPushEventHandler<EventType> handler, Duration pollingInterval)
public boolean isConnected(org.wicketstuff.push.IPushNode<?> node)
public <EventType> void publish(org.wicketstuff.push.IPushChannel<EventType> channel,
EventType event)
public <EventType> void publish(org.wicketstuff.push.IPushNode<EventType> node,
EventType event)
public void setCleanupInterval(Duration interval)
public void setDefaultPollingInterval(Duration defaultPollingInterval)
public void setMaxTimeLag(Duration maxTimeLag)
public void uninstallNode(Component component, org.wicketstuff.push.IPushNode<?> node)
Copyright © 2019. All rights reserved.