Class

io.udash.rpc

DefaultAtmosphereServiceConfig

Related Doc: package rpc

Permalink

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. All

Instance Constructors

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val RPCName: String("RPC")

    Permalink
    Attributes
    protected
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. final val closedConnectionCallbacks: CallbacksHandler[ClientId]

    Permalink
    Attributes
    protected
  8. def connections: AtmosphereResourceSessionFactory

    Permalink
    Attributes
    protected
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def filters: com.avsystem.commons.ISeq[(AtmosphereResource) ⇒ Try[Unit]]

    Permalink

    returns

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

    Definition Classes
    DefaultAtmosphereServiceConfigAtmosphereServiceConfig
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def initRpc(resource: AtmosphereResource): Unit

    Permalink

    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

    Permalink
    Definition Classes
    Any
  16. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final val newConnectionCallbacks: CallbacksHandler[ClientId]

    Permalink
    Attributes
    protected
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def onClose(resource: AtmosphereResource): Unit

    Permalink

    Called after AtmosphereResource gets closed.

    Called after AtmosphereResource gets closed.

    resource

    Closed resource

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

    Permalink

    Registers callback which will be called on every closed connection.

  23. def onNewConnection(callback: CallbackType): Registration

    Permalink

    Registers callback which will be called on every new connection.

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

    Permalink

    Should return RPC for provided resource.

    Should return RPC for provided resource.

    Definition Classes
    DefaultAtmosphereServiceConfigAtmosphereServiceConfig
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from LazyLogging

Inherited from AtmosphereServiceConfig[ServerRPCType]

Inherited from AnyRef

Inherited from Any

Ungrouped