Package akka.routing

Class Broadcast

  • All Implemented Interfaces:
    RouterEnvelope, java.io.Serializable, scala.Equals, scala.Product, scala.Serializable

    public final class Broadcast
    extends java.lang.Object
    implements RouterEnvelope, scala.Product, scala.Serializable
    Used to broadcast a message to all routees in a router; only the contained message will be forwarded, i.e. the Broadcast(...) envelope will be stripped off.
    See Also:
    Serialized Form
    • Constructor Detail

      • Broadcast

        public Broadcast​(java.lang.Object message)
    • Method Detail

      • apply

        public static Broadcast apply​(java.lang.Object message)
      • unapply

        public static scala.Option<java.lang.Object> unapply​(Broadcast x$0)
      • copy

        public Broadcast copy​(java.lang.Object message)
      • copy$default$1

        public java.lang.Object copy$default$1()
      • productPrefix

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

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

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

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

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

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

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

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