Package

agora.rest.worker

ws

Permalink

package ws

Visibility
  1. Public
  2. All

Type Members

  1. case class CompleteRequest(response: Json) extends FromWebsocketWorker with Product with Serializable

    Permalink

    reply to the original incoming request

  2. case class CreateSubscription(subscription: WorkSubscription) extends FromWebsocketWorker with Product with Serializable

    Permalink
  3. sealed trait FromWebsocketWorker extends AnyRef

    Permalink

    these are messages sent from the websocket client (e.g.

    these are messages sent from the websocket client (e.g. a browser)

  4. case class OnJob(job: SubmitJob, matchDetails: MatchDetails) extends ToWebsocketWorker with Product with Serializable

    Permalink
  5. case class OnResubmitResponse(response: String) extends ToWebsocketWorker with Product with Serializable

    Permalink
  6. case class OnSubscribe(subscription: WorkSubscription, id: SubscriptionKey) extends ToWebsocketWorker with Product with Serializable

    Permalink
  7. case class ResubmitRequest(submit: SubmitJob) extends FromWebsocketWorker with Product with Serializable

    Permalink

    submit the given job to the exchange, presumably to fulfill an 'around' AOP type workflow

  8. case class TakeNext(request: Int) extends FromWebsocketWorker with Product with Serializable

    Permalink

    request to take more work

  9. sealed trait ToWebsocketWorker extends AnyRef

    Permalink

    Messages sent to the websocket

  10. class WebSocketWorkerRoutes extends StrictLogging with FailFastCirceSupport

    Permalink
  11. trait WebsocketWorker extends AnyRef

    Permalink

    Represents the logic for handling a websocket-based worker dialogue.

  12. class WebsocketWorkerActor extends Actor with FailFastCirceSupport with StrictLogging

    Permalink

    Client to Worker: I'd like to open a work subscription XY

    Client to Worker: I'd like to open a work subscription XY

    Dynamic Worker to Exchange: create a thing at <client worker counter + 1> Dynamic Worker to Client: OK - here's your ID *

    Client to Worker: Please take x items on ID DynamicWorker to Exchange: What he said *

    Exchange to DynamicWorker: Do this job DynamicWorker to Client: Do this job * Client to DynamicWorker: Submit this job DynamicWorker to Client: Here's the result

    Client to DynamicWorker: Ha ha sucker! Thanks ... and here's the result of the job you asked me to do

Value Members

  1. object FromWebsocketWorker

    Permalink
  2. object ToWebsocketWorker

    Permalink
  3. object WebsocketWorker extends StrictLogging

    Permalink
  4. object WebsocketWorkerActor

    Permalink

Ungrouped