c

io.udash.rpc

DefaultAtmosphereServiceConfig

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
LazyLogging, AtmosphereServiceConfig[ServerRPCType], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultAtmosphereServiceConfig
  2. LazyLogging
  3. AtmosphereServiceConfig
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultAtmosphereServiceConfig(localRpc: (ClientId) => ExposesServerRPC[ServerRPCType])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final val RPCName: String("RPC")
    Attributes
    protected
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final val closedConnectionCallbacks: CallbacksHandler[ClientId]
    Attributes
    protected
  8. def connections: AtmosphereResourceSessionFactory
    Attributes
    protected
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def filters: com.avsystem.commons.ISeq[(AtmosphereResource) => Try[Unit]]

    returns

    If a filter returns failure, RPC method is not called.

    Definition Classes
    DefaultAtmosphereServiceConfigAtmosphereServiceConfig
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def initRpc(resource: AtmosphereResource): Unit

    Initialize RPC for resource.

    Initialize RPC for resource. This is called on every request from resource!

    Definition Classes
    DefaultAtmosphereServiceConfigAtmosphereServiceConfig
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final val newConnectionCallbacks: CallbacksHandler[ClientId]
    Attributes
    protected
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def onClose(resource: AtmosphereResource): Unit

    Called after AtmosphereResource gets closed.

    Called after AtmosphereResource gets closed.

    resource

    Closed resource

    Definition Classes
    DefaultAtmosphereServiceConfigAtmosphereServiceConfig
  22. def onClosedConnection(callback: CallbackType): Registration

    Registers callback which will be called on every closed connection.

  23. def onNewConnection(callback: CallbackType): Registration

    Registers callback which will be called on every new connection.

  24. def resolveRpc(resource: AtmosphereResource): ExposesServerRPC[ServerRPCType]

    Should return RPC for provided resource.

    Should return RPC for provided resource.

    Definition Classes
    DefaultAtmosphereServiceConfigAtmosphereServiceConfig
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from LazyLogging

Inherited from AtmosphereServiceConfig[ServerRPCType]

Inherited from AnyRef

Inherited from Any

Ungrouped