All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.chanhohang.akka.cluster.ClusterMessageRouter Maven / Gradle / Ivy

package com.github.chanhohang.akka.cluster;

import com.github.chanhohang.akka.actor.ClusterMessengerReceiver;
import com.github.chanhohang.akka.message.persist.AcknowledgementPersist;

/**
 * Route message interface when message receive in {@link ClusterMessengerReceiver}.
 */
public interface ClusterMessageRouter {

  /**
   * Route {@link AcknowledgementPersist} payload to the designated target.
   * 
   * @param event
   *          see {@link AcknowledgementPersist}
   */
  void route(AcknowledgementPersist event);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy