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(java.lang.String fileName)
protected java.lang.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 java.io.IOException
- Throws:
java.io.IOException
-
onStateChange
public void onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event) throws java.io.IOException
- Throws:
java.io.IOException
-
destroy
public void destroy()
-
getBroadcaster
protected org.atmosphere.cpr.Broadcaster getBroadcaster(java.lang.String fileName)
-
getBroadcasterId
protected java.lang.String getBroadcasterId()
Description copied from class:BaseAtmosphereHandler
Returns the broadcaster identifier.- Specified by:
getBroadcasterId
in classBaseAtmosphereHandler
- Returns:
- the broadcaster identifier.
-
-