Package lumis.util.log
Class LogAtmosphereHandler
- java.lang.Object
-
- lumis.portal.atmosphere.BaseAtmosphereHandler
-
- lumis.util.log.LogAtmosphereHandler
-
- All Implemented Interfaces:
org.atmosphere.cpr.AtmosphereHandler
public class LogAtmosphereHandler extends BaseAtmosphereHandler
Live log Atmosphere Handler implementation.- Since:
- 9.0.0
- Version:
- $Revision: 19136 $ $Date: 2016-06-02 18:14:45 -0300 (Thu, 02 Jun 2016) $
-
-
Constructor Summary
Constructors Constructor Description LogAtmosphereHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
protected org.atmosphere.cpr.Broadcaster
getBroadcaster(String fileName)
protected String
getBroadcasterId()
Returns the broadcaster identifier.void
onRequest(org.atmosphere.cpr.AtmosphereResource resource)
void
onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event)
-
Methods inherited from class lumis.portal.atmosphere.BaseAtmosphereHandler
getBroadcaster, getSessionConfig, isBroadcast
-
-
-
-
Method Detail
-
onRequest
public void onRequest(org.atmosphere.cpr.AtmosphereResource resource) throws IOException
- Throws:
IOException
-
onStateChange
public void onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event) throws IOException
- Throws:
IOException
-
destroy
public void destroy()
-
getBroadcaster
protected org.atmosphere.cpr.Broadcaster getBroadcaster(String fileName)
-
getBroadcasterId
protected String getBroadcasterId()
Description copied from class:BaseAtmosphereHandler
Returns the broadcaster identifier.- Specified by:
getBroadcasterId
in classBaseAtmosphereHandler
- Returns:
- the broadcaster identifier.
-
-