|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.wicketstuff.push.AbstractPushService
org.wicketstuff.push.timer.TimerPushService
public class TimerPushService
AJAX timer based implementation of IPushService.
| Field Summary |
|---|
| Fields inherited from class org.wicketstuff.push.AbstractPushService |
|---|
disconnectListeners, nodesByChannels |
| Method Summary | ||
|---|---|---|
static TimerPushService |
get()
|
|
static TimerPushService |
get(Application application)
|
|
Duration |
getDefaultPollingInterval()
|
|
Duration |
getMaxTimeLag()
|
|
static org.wicketstuff.push.IPushServiceRef<TimerPushService> |
getRef()
|
|
|
installNode(Component component,
org.wicketstuff.push.IPushEventHandler<EventType> handler)
|
|
|
installNode(Component component,
org.wicketstuff.push.IPushEventHandler<EventType> handler,
Duration pollingInterval)
|
|
boolean |
isConnected(org.wicketstuff.push.IPushNode<?> node)
|
|
|
publish(org.wicketstuff.push.IPushChannel<EventType> channel,
EventType event)
|
|
|
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)
|
|
| Methods inherited from class org.wicketstuff.push.AbstractPushService |
|---|
addNodeDisconnectedListener, connectToChannel, createChannel, disconnectFromAllChannels, disconnectFromChannel, removeChannel, removeNodeDisconnectedListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||