akka.routing
Class Broadcast

java.lang.Object
  extended by akka.routing.Broadcast
All Implemented Interfaces:
RouterEnvelope, java.io.Serializable, scala.Equals, scala.Product

public class Broadcast
extends java.lang.Object
implements RouterEnvelope, scala.Product, scala.Serializable

Used to broadcast a message to all connections in a router; only the contained message will be forwarded, i.e. the Broadcast(...) envelope will be stripped off.

Router implementations may choose to handle this message differently.

See Also:
Serialized Form

Constructor Summary
Broadcast(java.lang.Object message)
           
 
Method Summary
 java.lang.Object message()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

Broadcast

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

message

public java.lang.Object message()
Specified by:
message in interface RouterEnvelope