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

io.vertx.core.eventbus.SendContext Maven / Gradle / Ivy

There is a newer version: 4.5.10
Show newest version
package io.vertx.core.eventbus;

import io.vertx.codegen.annotations.VertxGen;

/**
 *
 * Encapsulates a message being sent from Vert.x. Used with event bus interceptors
 *
 * @author Tim Fox
 */
@VertxGen
public interface SendContext {

  /**
   * @return  The message being sent
   */
  Message message();

  /**
   * Call the next interceptor
   */
  void next();

  /**
   *
   * @return true if the message is being sent (point to point) or False if the message is being published
   */
  boolean send();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy