SCROLLDispatchable

scroll.internal.dispatch.impl.SCROLLDispatchable

Trait handling the actual dispatching of role methods.

Attributes

Graph
Supertypes
trait Dispatchable
class Object
trait Matchable
class Any
Known subtypes
class AbstractCompartment.this.IPlayer[W, T]
class Compartment.this.Player[W]

Members list

Value members

Concrete methods

override def dispatch[E](on: AnyRef, m: Method, args: Seq[Any]): Either[InvocationError, E]

For reflective dispatch.

For reflective dispatch.

Type parameters

E

the return type of method m

Value parameters

args

the arguments to pass to method m

m

the method to dispatch

on

the instance to dispatch the given method m on

Attributes

Returns

the resulting return value of the method invocation or an appropriate error

Definition Classes