MultiCompartment

This Trait allows for implementing an objectified collaboration with a limited number of participating roles and a fixed scope. In contrast to the normal Compartment, in case of ambiguities all role methods will be called in sequence.

class Object
trait Matchable
class Any

Type members

Classlikes

implicit
class MultiPlayer[W <: AnyRef](val wrapped: W)(implicit evidence$2: ClassTag[W]) extends IPlayer[W, MultiPlayer[W]]

Inherited classlikes

abstract
class IPlayer[+W <: AnyRef, +T <: IPlayer[W, T]](val wrapped: W)(implicit evidence$2: ClassTag[W])

Wrapper class to add basic functionality to roles and its players as unified types.

Wrapper class to add basic functionality to roles and its players as unified types.

Type Params
W

type of wrapped object

Value Params
wrapped

the player or role that is wrapped into this dynamic type

Inherited from
AbstractCompartment

Value members

Concrete methods

override
def newPlayer[W <: AnyRef : ClassTag](obj: W): MultiPlayer[W]
Definition Classes

Inherited methods

protected
def applyDispatchQuery(dispatchQuery: DispatchQuery, on: AnyRef): Seq[AnyRef]
Inherited from
AbstractCompartment

Inherited fields

Inherited from
AbstractCompartment
lazy override
Inherited from
AbstractCompartment
lazy override
Inherited from
AbstractCompartment
lazy override
Inherited from
AbstractCompartment
lazy override
Inherited from
AbstractCompartment

Implicits

Implicits

final implicit
def MultiPlayer[W <: AnyRef : ClassTag](wrapped: W): MultiPlayer[W]
implicit
def either2SeqTOrException[T](either: Either[_, Seq[Either[_, T]]]): Seq[T]

Inherited implicits

implicit
def either2TorException[T](either: Either[_, T]): T
Inherited from
AbstractCompartment