Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 758851fda1
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (19 sloc) 0.601 kB
/**
* Copyright (C) 2011-2012 Typesafe <http://typesafe.com/>
*/
package com.typesafe.akkademo.processor.service
import akka.actor.{ ActorLogging, Actor }
import com.typesafe.akkademo.common.{ PlayerBet, RetrieveBets }
class BettingProcessor extends Actor with ActorLogging {
/**
* TASKS :
* Send remote registration message to service
* Create worker for dangerous task (using UnstableRepository actor)
* Supervise worker -> handle errors
* Send confirmation message back to Betting service
*/
def receive = {
case bet: PlayerBet
case RetrieveBets
}
}
Jump to Line
Something went wrong with that request. Please try again.