| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentHashMap<IPushChannel<?>,CopyOnWriteArraySet<IPushNode<?>>> |
AbstractPushService.nodesByChannels |
| Modifier and Type | Method and Description |
|---|---|
<EventType> |
IPushService.installNode(Component component,
IPushEventHandler<EventType> handler) |
| Modifier and Type | Method and Description |
|---|---|
<EventType> |
IPushService.connectToChannel(IPushNode<EventType> node,
IPushChannel<EventType> channel)
Connects the given push node to the given push channel
|
<EventType> |
AbstractPushService.connectToChannel(IPushNode<EventType> node,
IPushChannel<EventType> channel)
Connects the given push node to the given push channel
|
protected void |
AbstractPushService.disconnectFromAllChannels(IPushNode<?> node) |
<EventType> |
IPushService.disconnectFromChannel(IPushNode<EventType> node,
IPushChannel<EventType> channel) |
<EventType> |
AbstractPushService.disconnectFromChannel(IPushNode<EventType> node,
IPushChannel<EventType> channel) |
boolean |
IPushService.isConnected(IPushNode<?> node)
Determines if the node (client) is still connected, otherwise clears all queued events.
|
void |
IPushNodeDisconnectedListener.onDisconnect(IPushNode<?> pushChannel) |
void |
IPushEventHandler.onEvent(AjaxRequestTarget target,
EventType event,
IPushNode<EventType> node,
IPushEventContext<EventType> ctx) |
<EventType> |
IPushService.publish(IPushNode<EventType> node,
EventType event)
Queues the given event for later processing by the associated
IPushEventHandler. |
void |
IPushService.uninstallNode(Component component,
IPushNode<?> node) |
Copyright © 2020. All rights reserved.