package cpr
- Alphabetic
- Public
- All
Type Members
- trait BroadcasterConf extends AnyRef
-
sealed
case class
RedisScalatraBroadcasterConfig
(uri: URI = ..., auth: Option[String] = None) extends BroadcasterConf with Product with Serializable
Convenient configuration class for RedisBroadcaster
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
URI for the Redis Server. Defaults to redis://127.0.0.1:6379
- auth
An Option[String] if the Redis Server requires a password. Defaults to None
-
sealed
case class
ScalatraBroadcasterConfig
(broadcasterClass: Class[_ <: ScalatraBroadcaster], uri: URI = URI.create("http://127.0.0.1"), extraSetup: (Broadcaster) ⇒ Unit = b =>) extends BroadcasterConf with Product with Serializable
Basic Configuration-holder for Scalatra Atmosphere Broadcaster configuration
Basic Configuration-holder for Scalatra Atmosphere Broadcaster configuration
- broadcasterClass
Class[_<:ScalatraBroadcaster]
- uri
URI defaults to http://127.0.0.1
- extraSetup
Broadcaster => Unit Function that is passed an initialized Broadcaster in order to allow for optional plugin-specific Broadcaster setup. Defaults to doing nothing.
-
class
ScalatraBroadcasterFactory
extends BroadcasterFactory
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 {
Value Members
- object ScalatraBroadcasterFactory