c

batch

BatchActionHandler

class BatchActionHandler extends AnyRef

Handles batch action messages received by a BatchDispatcher from a client via a batch channel.

Annotations
@Singleton()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BatchActionHandler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BatchActionHandler(jpa: JPAApi, batchDao: BatchDao, msgBuilder: BatchActionMsgBuilder)
    Annotations
    @Inject()

Value Members

  1. def handleActionMsg(actionMsg: BatchMsg, batchId: Long): List[BatchMsg]

    Handles batch action messages originating from a client: Gets a BatchMsg that contains a field 'action' in their JSON.

    Handles batch action messages originating from a client: Gets a BatchMsg that contains a field 'action' in their JSON. The only action handled here is the a patch for the batch session. The function returns BatchMsges that will be send out to the batch members.