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

io.rsocket.frame.CancelFrameFlyweight Maven / Gradle / Ivy

There is a newer version: 1.1.4
Show newest version
package io.rsocket.frame;

import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;

public class CancelFrameFlyweight {
  private CancelFrameFlyweight() {}

  public static ByteBuf encode(final ByteBufAllocator allocator, final int streamId) {
    return FrameHeaderFlyweight.encode(allocator, streamId, FrameType.CANCEL, 0);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy