object BatchChannelActor

BatchChannelActor is an Akka Actor that represents the batch channel's WebSocket. A batch channel is a WebSocket connecting a client who's running a study with the JATOS server.

A BatchChannelActor is always opened during initialization of jatos.js (where a GroupChannelActor is opened only after the group was joined).

A BatchChannelActor belongs to a BatchDispatcher. A BatchChannelActor is created by the BatchChannel service and registers itself by sending a RegisterChannel message to its BatchDispatcher. It closes down after receiving a PoisonChannel message or if the WebSocket is closed. While closing down it unregisters from the BatchDispatcher by sending a UnregisterChannel message. A BatchChannelActor can, if it's told to, reassign itself to a different BatchDispatcher.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BatchChannelActor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def props(out: ActorRef, studyResultId: Long, batchDispatcher: ActorRef): Props