Search in sources :

Example 1 with WindowFW

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());
}
Also used : WindowFW(io.aklivity.zilla.runtime.binding.http.internal.types.stream.WindowFW)

Example 2 with WindowFW

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());
}
Also used : WindowFW(io.aklivity.zilla.runtime.binding.http.internal.types.stream.WindowFW)

Aggregations

WindowFW (io.aklivity.zilla.runtime.binding.http.internal.types.stream.WindowFW)2