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

io.scalecube.services.transport.api.ClientChannel Maven / Gradle / Ivy

package io.scalecube.services.transport.api;

import io.scalecube.services.api.ServiceMessage;
import java.lang.reflect.Type;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

/** Client channel interface. */
public interface ClientChannel {

  Mono requestResponse(ServiceMessage message, Type responseType);

  Flux requestStream(ServiceMessage message, Type responseType);

  Flux requestChannel(Publisher publisher, Type responseType);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy