class DefaultAtmosphereServiceConfig[ServerRPCType] extends AtmosphereServiceConfig[ServerRPCType] with LazyLogging
Default io.udash.rpc.AtmosphereServiceConfig implementation.
Creates RPC endpoint per HTTP connection. Endpoint can be aware of io.udash.rpc.ClientId.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DefaultAtmosphereServiceConfig
- LazyLogging
- AtmosphereServiceConfig
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DefaultAtmosphereServiceConfig(localRpc: (ClientId) => ExposesServerRPC[ServerRPCType])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val RPCName: String("RPC")
- Attributes
- protected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final val closedConnectionCallbacks: CallbacksHandler[ClientId]
- Attributes
- protected
- def connections: AtmosphereResourceSessionFactory
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filters: com.avsystem.commons.ISeq[(AtmosphereResource) => Try[Unit]]
- returns
If a filter returns failure, RPC method is not called.
- Definition Classes
- DefaultAtmosphereServiceConfig → AtmosphereServiceConfig
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def initRpc(resource: AtmosphereResource): Unit
Initialize RPC for resource.
Initialize RPC for resource. This is called on every request from resource!
- Definition Classes
- DefaultAtmosphereServiceConfig → AtmosphereServiceConfig
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final val newConnectionCallbacks: CallbacksHandler[ClientId]
- Attributes
- protected
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def onClose(resource: AtmosphereResource): Unit
Called after AtmosphereResource gets closed.
Called after AtmosphereResource gets closed.
- resource
Closed resource
- Definition Classes
- DefaultAtmosphereServiceConfig → AtmosphereServiceConfig
- def onClosedConnection(callback: CallbackType): Registration
Registers callback which will be called on every closed connection.
- def onNewConnection(callback: CallbackType): Registration
Registers callback which will be called on every new connection.
- def resolveRpc(resource: AtmosphereResource): ExposesServerRPC[ServerRPCType]
Should return RPC for provided resource.
Should return RPC for provided resource.
- Definition Classes
- DefaultAtmosphereServiceConfig → AtmosphereServiceConfig
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])