public class ActivityStreamAtmosphereHandler extends BaseAtmosphereHandler
Constructor and Description |
---|
ActivityStreamAtmosphereHandler()
Creates a new ActivityStreamAtmosphereHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected String |
getBroadcasterId()
Returns the broadcaster identifier.
|
static void |
notify(ActivityDocument activityDocument)
Sends a broadcast to all relevant atmosphere resources with an activity document.
|
void |
onRequest(org.atmosphere.cpr.AtmosphereResource atmosphereResource) |
void |
onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event) |
getBroadcaster, getSessionConfig, isBroadcast
public ActivityStreamAtmosphereHandler()
public void onRequest(org.atmosphere.cpr.AtmosphereResource atmosphereResource) throws IOException
IOException
public void onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event) throws IOException
IOException
public void destroy()
public static void notify(ActivityDocument activityDocument)
activityDocument
- the activity document.protected String getBroadcasterId()
BaseAtmosphereHandler
getBroadcasterId
in class BaseAtmosphereHandler
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.