您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

20 行
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. }