Class TrailingDataFramePublisher

  • All Implemented Interfaces:
    org.reactivestreams.Publisher<ByteBuffer>

    public final class TrailingDataFramePublisher
    extends Object
    implements org.reactivestreams.Publisher<ByteBuffer>
    A publisher which wraps a publisher and appends a trailing frame once the wrapped publisher is finished.
    • Constructor Detail

      • TrailingDataFramePublisher

        public TrailingDataFramePublisher​(org.reactivestreams.Publisher<ByteBuffer> publisher)
    • Method Detail

      • subscribe

        public void subscribe​(org.reactivestreams.Subscriber<? super ByteBuffer> subscriber)
        Specified by:
        subscribe in interface org.reactivestreams.Publisher<ByteBuffer>