Package net.sodacan.core.util
Class MessageUtils
java.lang.Object
net.sodacan.core.util.MessageUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MessageUtils
public MessageUtils()
-
-
Method Details
-
submit
For testing only.
This is a quick and dirty way to inject a message into a running Host. It does not call any message life-cycle methods. It just gets the message into the queue.
- Parameters:
config
-message
-
-
submitToNewActor
Submit a new message to a new Actor- Parameters:
config
- ConfigurationactorType
- The type of actor to createverb
- The verb to send to the actor- Returns:
- The ActorId of the new actor
-