org.mashupbots.socko.webserver

WebServer

class WebServer extends Logger

Socko Web Server

  val webServer = new WebServer(myWebServerConfig, routes)
  webServer.start()
  ...

  webServer.stop()
Linear Supertypes
Logger, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. WebServer
  2. Logger
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WebServer (config: WebServerConfig, routes: PartialFunction[SockoEvent, Unit], actorSystem: ActorSystem)

    config

    Web server configuration

    routes

    Routes for processing requests

    actorSystem

    Actor system that can be used to host Socko actors

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. val actorSystem : ActorSystem

    Actor system that can be used to host Socko actors

  7. val allChannels : DefaultChannelGroup

    Collection of channels that are currently being used

  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. val config : WebServerConfig

    Web server configuration

  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  15. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  17. lazy val log : Logger

    Logger name is inferred from the class name.

    Logger name is inferred from the class name.

    Definition Classes
    Logger
  18. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. val routes : PartialFunction[SockoEvent, Unit]

    Routes for processing requests

  22. val sslManager : Option[SslManager]

    SSL Engine

  23. def start (): Unit

    Starts the server

  24. def stop (): Unit

    Stops the server

  25. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  26. def toString (): String

    Definition Classes
    AnyRef → Any
  27. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. val webLogWriter : Option[ActorRef]

    Actor to which web log events will be sent

Inherited from Logger

Inherited from AnyRef

Inherited from Any