Class ProducerController.RegisterConsumer<A>

java.lang.Object
org.apache.pekko.actor.typed.delivery.ProducerController.RegisterConsumer<A>
All Implemented Interfaces:
Serializable, DeliverySerializable, ProducerControllerImpl.InternalCommand, ProducerControllerImpl.UnsealedInternalCommand, ProducerController.Command<A>, scala.Equals, scala.Product
Enclosing class:
ProducerController

public static final class ProducerController.RegisterConsumer<A> extends Object implements ProducerController.Command<A>, DeliverySerializable, scala.Product, Serializable
Register the given consumerController to the ProducerController.

Alternatively, this registration can be done on the consumer side with the ConsumerController.RegisterToProducerController message.

When using a custom send function for the ProducerController this should not be used.

See Also:
  • Constructor Details

  • Method Details

    • consumerController

      public ActorRef<ConsumerController.Command<A>> consumerController()
    • copy

      public <A> ProducerController.RegisterConsumer<A> copy(ActorRef<ConsumerController.Command<A>> consumerController)
    • copy$default$1

      public <A> ActorRef<ConsumerController.Command<A>> copy$default$1()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object