25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

20 satır
559 B

  1. package commands;
  2. import com.fasterxml.jackson.databind.node.ObjectNode;
  3. public interface DummyTell {
  4. /**
  5. * This is a method that can be used to replace the normal tell logic
  6. * when sending commands to avoid issues when building unit tests where
  7. * ActorRef is null
  8. *
  9. * If writing a unit test you can add a class that implements this interface
  10. * and set BasicCommands.altTell = <your class> to avoid calling ActorRef.tell
  11. * and call altTell.tell instead.
  12. * @param message
  13. */
  14. public void tell(ObjectNode message);
  15. }