Package akka.actor

Class UntypedAbstractActor

  • All Implemented Interfaces:
    Actor

    public abstract class UntypedAbstractActor
    extends AbstractActor
    To be implemented by concrete UntypedAbstractActor, this defines the behavior of the actor.
    • Constructor Detail

      • UntypedAbstractActor

        public UntypedAbstractActor()
    • Method Detail

      • onReceive

        public abstract void onReceive​(java.lang.Object message)
                                throws java.lang.Throwable
        To be implemented by concrete UntypedAbstractActor, this defines the behavior of the actor.
        Parameters:
        message - (undocumented)
        Throws:
        java.lang.Throwable
      • receive

        public scala.PartialFunction<java.lang.Object,​scala.runtime.BoxedUnit> receive()
        Description copied from interface: Actor
        Scala API: This defines the initial actor behavior, it must return a partial function with the actor logic.
        Specified by:
        receive in interface Actor
        Overrides:
        receive in class AbstractActor
        Returns:
        (undocumented)