Convenient configuration class for RedisBroadcaster
Basic Configuration-holder for Scalatra Atmosphere Broadcaster configuration
Basic Configuration-holder for Scalatra Atmosphere Broadcaster configuration
Class[_<:ScalatraBroadcaster]
URI defaults to http://127.0.0.1
Broadcaster => Unit Function that is passed an initialized Broadcaster in order to allow for optional plugin-specific Broadcaster setup. Defaults to doing nothing.
As seen from class ScalatraBroadcasterFactory, the missing signatures are as follows.
As seen from class ScalatraBroadcasterFactory, the missing signatures are as follows. For convenience, these are usable as stub implementations. def addBroadcasterListener(x$1: org.atmosphere.cpr.BroadcasterListener): org.atmosphere.cpr.BroadcasterFactory = ??? def broadcasterListeners(): java.util.Collection[org.atmosphere.cpr.BroadcasterListener] = ??? def removeBroadcasterListener(x$1: org.atmosphere.cpr.BroadcasterListener): org.atmosphere.cpr.BroadcasterFactory = ??? class ScalatraBroadcasterFactory(var cfg: AtmosphereConfig, bCfg: BroadcasterConf)(implicit wireFormat: WireFormat, system: ActorSystem) extends BroadcasterFactory {
Convenient configuration class for RedisBroadcaster
Using this class will automatically take care of setting Redis auth on the underlying RedisBroadcaster if the auth parameter is given an argument
URI for the Redis Server. Defaults to redis://127.0.0.1:6379
An Option[String] if the Redis Server requires a password. Defaults to None