Search in sources :

Example 1 with TopologyRequest

use of io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyRequest in project zeebe by zeebe-io.

the class TopologyRequestImpl method send.

@Override
public ZeebeFuture<Topology> send() {
    final TopologyRequest request = TopologyRequest.getDefaultInstance();
    final RetriableClientFutureImpl<Topology, TopologyResponse> future = new RetriableClientFutureImpl<>(TopologyImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : TopologyRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyRequest) TopologyResponse(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyResponse) RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) Topology(io.camunda.zeebe.client.api.response.Topology) TopologyImpl(io.camunda.zeebe.client.impl.response.TopologyImpl)

Example 2 with TopologyRequest

use of io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyRequest in project zeebe by camunda-cloud.

the class TopologyRequestImpl method send.

@Override
public ZeebeFuture<Topology> send() {
    final TopologyRequest request = TopologyRequest.getDefaultInstance();
    final RetriableClientFutureImpl<Topology, TopologyResponse> future = new RetriableClientFutureImpl<>(TopologyImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : TopologyRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyRequest) TopologyResponse(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyResponse) RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) Topology(io.camunda.zeebe.client.api.response.Topology) TopologyImpl(io.camunda.zeebe.client.impl.response.TopologyImpl)

Example 3 with TopologyRequest

use of io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyRequest in project zeebe by camunda.

the class TopologyRequestImpl method send.

@Override
public ZeebeFuture<Topology> send() {
    final TopologyRequest request = TopologyRequest.getDefaultInstance();
    final RetriableClientFutureImpl<Topology, TopologyResponse> future = new RetriableClientFutureImpl<>(TopologyImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : TopologyRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyRequest) TopologyResponse(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyResponse) RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) Topology(io.camunda.zeebe.client.api.response.Topology) TopologyImpl(io.camunda.zeebe.client.impl.response.TopologyImpl)

Aggregations

Topology (io.camunda.zeebe.client.api.response.Topology)3 RetriableClientFutureImpl (io.camunda.zeebe.client.impl.RetriableClientFutureImpl)3 TopologyImpl (io.camunda.zeebe.client.impl.response.TopologyImpl)3 TopologyRequest (io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyRequest)3 TopologyResponse (io.camunda.zeebe.gateway.protocol.GatewayOuterClass.TopologyResponse)3