Spawner

com.github.cloudfiles.core.http.factory.Spawner
See theSpawner companion object
trait Spawner

A trait that allows abstracting of the creation of a typed actor.

There are multiple sources that can be used to create typed actor references, such as a typed actor context, an untyped actor context, or an untyped actor system. With this trait, all these sources can be treated in a common way.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def spawn[T](behavior: Behavior[T], optName: Option[String], props: Props): ActorRef[T]

Creates a new typed actor using a specific behavior with some optional properties.

Creates a new typed actor using a specific behavior with some optional properties.

Type parameters

T

the type of the messages accepted by the actor

Value parameters

behavior

the behavior of the new actor

optName

an optional name for the actor

props

optional ''Props'' for the actor

Attributes

Returns

a reference to the the newly created