Search in sources :

Example 1 with SetVariablesResponseImpl

use of io.camunda.zeebe.client.impl.response.SetVariablesResponseImpl in project zeebe by camunda-cloud.

the class SetVariablesCommandImpl method send.

@Override
public ZeebeFuture<SetVariablesResponse> send() {
    final SetVariablesRequest request = builder.build();
    final RetriableClientFutureImpl<SetVariablesResponse, GatewayOuterClass.SetVariablesResponse> future = new RetriableClientFutureImpl<>(SetVariablesResponseImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : SetVariablesResponseImpl(io.camunda.zeebe.client.impl.response.SetVariablesResponseImpl) RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) SetVariablesRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.SetVariablesRequest) SetVariablesResponse(io.camunda.zeebe.client.api.response.SetVariablesResponse)

Example 2 with SetVariablesResponseImpl

use of io.camunda.zeebe.client.impl.response.SetVariablesResponseImpl in project zeebe by zeebe-io.

the class SetVariablesCommandImpl method send.

@Override
public ZeebeFuture<SetVariablesResponse> send() {
    final SetVariablesRequest request = builder.build();
    final RetriableClientFutureImpl<SetVariablesResponse, GatewayOuterClass.SetVariablesResponse> future = new RetriableClientFutureImpl<>(SetVariablesResponseImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : SetVariablesResponseImpl(io.camunda.zeebe.client.impl.response.SetVariablesResponseImpl) RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) SetVariablesRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.SetVariablesRequest) SetVariablesResponse(io.camunda.zeebe.client.api.response.SetVariablesResponse)

Example 3 with SetVariablesResponseImpl

use of io.camunda.zeebe.client.impl.response.SetVariablesResponseImpl in project zeebe by camunda.

the class SetVariablesCommandImpl method send.

@Override
public ZeebeFuture<SetVariablesResponse> send() {
    final SetVariablesRequest request = builder.build();
    final RetriableClientFutureImpl<SetVariablesResponse, GatewayOuterClass.SetVariablesResponse> future = new RetriableClientFutureImpl<>(SetVariablesResponseImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : SetVariablesResponseImpl(io.camunda.zeebe.client.impl.response.SetVariablesResponseImpl) RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) SetVariablesRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.SetVariablesRequest) SetVariablesResponse(io.camunda.zeebe.client.api.response.SetVariablesResponse)

Aggregations

SetVariablesResponse (io.camunda.zeebe.client.api.response.SetVariablesResponse)3 RetriableClientFutureImpl (io.camunda.zeebe.client.impl.RetriableClientFutureImpl)3 SetVariablesResponseImpl (io.camunda.zeebe.client.impl.response.SetVariablesResponseImpl)3 SetVariablesRequest (io.camunda.zeebe.gateway.protocol.GatewayOuterClass.SetVariablesRequest)3