java.lang.Object
de.wuespace.telestion.services.message.Address

public final class Address extends Object
Class for composing Addresses for the Verticles.
There are:
  • outgoing: Verticles publish there results on the eventbus on this address if the result is not for a specific Verticle alone
  • incoming: Verticles listen on the eventbus for packages here
addresses.

This class should only be used in static context.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    incoming​(io.vertx.core.Verticle target)
    Creates a new incoming address from a Verticle and returns it as a String.
    static String
    incoming​(io.vertx.core.Verticle target, String method)
    Creates a new incoming address from a method within a Verticle and returns it as a String.
    static String
    incoming​(Class<? extends io.vertx.core.Verticle> target)
    Creates a new incoming address from a Verticle and returns it as a String.
    static String
    incoming​(Class<? extends io.vertx.core.Verticle> target, String method)
    Creates a new incoming address from a method within a Verticle and returns it as a String.
    static String
    outgoing​(io.vertx.core.Verticle source)
    Creates a new outgoing address from a Verticle and returns it as a String.
    static String
    outgoing​(io.vertx.core.Verticle source, String method)
    Creates a new outgoing address from a method within a Verticle and returns it as a String.
    static String
    outgoing​(Class<? extends io.vertx.core.Verticle> source)
    Creates a new outgoing address from a Verticle and returns it as a String.
    static String
    outgoing​(Class<? extends io.vertx.core.Verticle> source, String method)
    Creates a new outgoing address from a method within a Verticle and returns it as a String.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • outgoing

      public static String outgoing(io.vertx.core.Verticle source)
      Creates a new outgoing address from a Verticle and returns it as a String.
      Parameters:
      source - Verticle to compose address from
      Returns:
      composed address
    • outgoing

      public static String outgoing(Class<? extends io.vertx.core.Verticle> source)
      Creates a new outgoing address from a Verticle and returns it as a String.
      Parameters:
      source - Verticle to compose address from
      Returns:
      composed address
    • outgoing

      public static String outgoing(io.vertx.core.Verticle source, String method)
      Creates a new outgoing address from a method within a Verticle and returns it as a String.
      Parameters:
      source - Verticle to compose address from
      method - Method which specifies the output address
      Returns:
      composed address
    • outgoing

      public static String outgoing(Class<? extends io.vertx.core.Verticle> source, String method)
      Creates a new outgoing address from a method within a Verticle and returns it as a String.
      Parameters:
      source - Verticle to compose address from
      method - Method which specifies the output address
      Returns:
      composed address
    • incoming

      public static String incoming(Class<? extends io.vertx.core.Verticle> target)
      Creates a new incoming address from a Verticle and returns it as a String.
      Parameters:
      target - Verticle to compose address from
      Returns:
      composed address
    • incoming

      public static String incoming(Class<? extends io.vertx.core.Verticle> target, String method)
      Creates a new incoming address from a method within a Verticle and returns it as a String.
      Parameters:
      target - Verticle to compose address from
      method - Method which specifies the input address
      Returns:
      composed address
    • incoming

      public static String incoming(io.vertx.core.Verticle target)
      Creates a new incoming address from a Verticle and returns it as a String.
      Parameters:
      target - Verticle to compose address from
      Returns:
      composed address
    • incoming

      public static String incoming(io.vertx.core.Verticle target, String method)
      Creates a new incoming address from a method within a Verticle and returns it as a String.
      Parameters:
      target - Verticle to compose address from
      method - Method which specifies the input address
      Returns:
      composed address