public class PushHandler extends Object
UI/ AtmospherePushConnection.| Constructor and Description |
|---|
PushHandler(VaadinServletService service) |
| Modifier and Type | Method and Description |
|---|---|
protected ServerRpcHandler |
createRpcHandler()
Creates the ServerRpcHandler to use.
|
int |
getLongPollingSuspendTimeout()
Gets the timeout used for suspend calls when using long polling.
|
void |
setLongPollingSuspendTimeout(int longPollingSuspendTimeout)
Sets the timeout used for suspend calls when using long polling.
|
protected void |
suspend(org.atmosphere.cpr.AtmosphereResource resource)
Suspends the given resource.
|
public PushHandler(VaadinServletService service)
protected ServerRpcHandler createRpcHandler()
protected void suspend(org.atmosphere.cpr.AtmosphereResource resource)
resource - the resource to suspendpublic void setLongPollingSuspendTimeout(int longPollingSuspendTimeout)
longPollingSuspendTimeout - the timeout to use for suspended AtmosphereResourcespublic int getLongPollingSuspendTimeout()
Copyright © 2020 Vaadin Ltd. All rights reserved.