Class JardisProcess


  • public class JardisProcess
    extends JardisEndPoint
    Create an instance of Jardis as a process. You can communicate with jardis process by using standard input and standard output
    Author:
    lana
    • Constructor Detail

      • JardisProcess

        public JardisProcess​(com.smeup.jardis.core.JardisConfiguration jardisConfiguration)
    • Method Detail

      • dispatchConsumableMessage

        public boolean dispatchConsumableMessage​(com.smeup.jardis.core.Message message)
        Description copied from class: JardisEndPoint
        Sends a consumable message to all instances of Handler Dispathing is blocked if message is consumed by an Handler
        Specified by:
        dispatchConsumableMessage in class JardisEndPoint
        Parameters:
        message - The message
        Returns:
        true if one Handler consumed the message, false elsewhere
      • dispatchBroadcastMessage

        public void dispatchBroadcastMessage​(com.smeup.jardis.core.Message message)
        Description copied from class: JardisEndPoint
        Send a broadcast message to all instances of Handler
        Specified by:
        dispatchBroadcastMessage in class JardisEndPoint
        Parameters:
        message - The message