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

io.vertx.up.uca.micro.ipc.tower.Transit Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.up.uca.micro.ipc.tower;

import io.vertx.codegen.annotations.Fluent;
import io.vertx.core.Future;
import io.vertx.core.Vertx;
import io.vertx.up.commune.Envelop;

import java.lang.reflect.Method;

/**
 * Different workflow for method call
 */
public interface Transit {
    /**
     * Async mode
     *
     * @return
     */
    Future async(Envelop data);

    /**
     * @param method
     * @return
     */
    @Fluent
    Transit connect(Method method);

    @Fluent
    Transit connect(Vertx vertx);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy