use of io.aklivity.zilla.runtime.binding.http.internal.types.stream.WindowFW in project zilla by aklivity.
the class HttpClientFactory method doWindow.
private void doWindow(MessageConsumer receiver, long routeId, long streamId, long sequence, long acknowledge, int maximum, long traceId, long authorization, long budgetId, int padding) {
final WindowFW window = windowRW.wrap(writeBuffer, 0, writeBuffer.capacity()).routeId(routeId).streamId(streamId).sequence(sequence).acknowledge(acknowledge).maximum(maximum).traceId(traceId).authorization(authorization).budgetId(budgetId).padding(padding).build();
receiver.accept(window.typeId(), window.buffer(), window.offset(), window.sizeof());
}
use of io.aklivity.zilla.runtime.binding.http.internal.types.stream.WindowFW in project zilla by aklivity.
the class HttpServerFactory method doWindow.
private void doWindow(MessageConsumer receiver, long routeId, long streamId, long sequence, long acknowledge, int maximum, long traceId, long authorization, long budgetId, int padding) {
final WindowFW window = windowRW.wrap(writeBuffer, 0, writeBuffer.capacity()).routeId(routeId).streamId(streamId).sequence(sequence).acknowledge(acknowledge).maximum(maximum).traceId(traceId).authorization(authorization).budgetId(budgetId).padding(padding).build();
receiver.accept(window.typeId(), window.buffer(), window.offset(), window.sizeof());
}
Aggregations