io.backchat.hookup

ServerInfo

case class ServerInfo(name: String = ServerInfo.DefaultServerName, version: String = BuildInfo.version, listenOn: String = "0.0.0.0", port: Int = 8765, defaultProtocol: String = ..., capabilities: Seq[ServerCapability] = collection.this.Seq.empty[Nothing], executionContext: ExecutionContext = HookupClient.executionContext) extends Product with Serializable

Main configuration object for a server

name

The name of this server, defaults to BackchatWebSocketServer

version

The version of the server

listenOn

Which address the server should listen on

port

The port the server should listen on

defaultProtocol

The default protocol for this server to use when no subprotocols have been specified

capabilities

A sequence of io.backchat.hookup.ServerCapability configurations for this server

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ServerInfo
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServerInfo(name: String = ServerInfo.DefaultServerName, version: String = BuildInfo.version, listenOn: String = "0.0.0.0", port: Int = 8765, defaultProtocol: String = ..., capabilities: Seq[ServerCapability] = collection.this.Seq.empty[Nothing], executionContext: ExecutionContext = HookupClient.executionContext)

    name

    The name of this server, defaults to BackchatWebSocketServer

    version

    The version of the server

    listenOn

    Which address the server should listen on

    port

    The port the server should listen on

    defaultProtocol

    The default protocol for this server to use when no subprotocols have been specified

    capabilities

    A sequence of io.backchat.hookup.ServerCapability configurations for this server

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val capabilities: Seq[ServerCapability]

    A sequence of io.backchat.hookup.ServerCapability configurations for this server

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val contentCompression: Option[ContentCompression]

    If the server should support content compression this will have the configuration for it.

  10. val defaultProtocol: String

    The default protocol for this server to use when no subprotocols have been specified

  11. val defaultWireFormat: WireFormat

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. val executionContext: ExecutionContext

  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val flashPolicy: String

    The configuration for the flash policy, by default it allows all.

    The configuration for the flash policy, by default it allows all..

  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val listenOn: String

    Which address the server should listen on

  19. val maxFrameSize: Long

    If the server should support max frame sizes for websocket frames this will have the configuration for it.

  20. val name: String

    The name of this server, defaults to BackchatWebSocketServer

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. val pingTimeout: Option[Timeout]

    If the server should support pinging this will have the configuration for it.

  25. val port: Int

    The port the server should listen on

  26. val protocols: Seq[WireFormat]

    If the server should support sub-protocols this will have the configuration for it.

  27. val sslContext: Option[SSLContext]

    If the server should support SSL this will be filled with the ssl context to use

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. val version: String

    The version of the server

  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped