org.mashupbots.socko

handlers

package handlers

Visibility
  1. Public
  2. All

Type Members

  1. class SnoopHandler extends Actor

    Sends a response containing information about the received event.

  2. class StaticContentHandler extends Actor

    Handles downloading of static files and resources.

  3. case class StaticContentHandlerConfig(rootFilePaths: Seq[String] = immutable.this.Nil, tempDir: File = ..., cache: LocalCache = ..., serverCacheMaxFileSize: Int = 1024.*(100), serverCacheTimeoutSeconds: Int = 3600, browserCacheTimeoutSeconds: Int = 3600) extends Product with Serializable

    Configuration for org.mashupbots.socko.handlers.StaticContentHandler.

  4. case class StaticFileRequest(event: HttpRequestEvent, file: File, serverCacheTimeoutSeconds: Option[Int] = scala.None, browserCacheTimeoutSeconds: Option[Int] = scala.None) extends Product with Serializable

    Message to be sent to org.mashupbots.socko.handlers.StaticContentHandler for it to download the specified file

  5. case class StaticResourceRequest(event: HttpRequestEvent, classpath: String, serverCacheTimeoutSeconds: Option[Int] = scala.None, browserCacheTimeoutSeconds: Option[Int] = scala.None) extends Product with Serializable

    Message to be sent to org.mashupbots.socko.handlers.StaticContentHandler for it to download the specified file

  6. case class WebSocketBroadcastBinary(bytes: Array[Byte]) extends Product with Serializable

    Message sent to org.mashupbots.socko.handlers.WebSocketBroadcaster to broadcast a web socket binary frame to all registered web socket connection.

  7. case class WebSocketBroadcastText(text: String) extends Product with Serializable

    Message sent to org.mashupbots.socko.handlers.WebSocketBroadcaster to broadcast a web socket text frame to all registered web socket connection.

  8. class WebSocketBroadcaster extends Actor

    Broadcasts a message to registered web socket connections.

  9. case class WebSocketBroadcasterRegistration(context: WebSocketHandshakeEvent) extends Product with Serializable

    Message sent to org.mashupbots.socko.handlers.WebSocketBroadcaster during the web socket handshake in order to register the web socket connection to receive broadcast messages

Value Members

  1. object ChunkDataStore

    Store of channel specific data

  2. object HttpDataFactory

Ungrouped