Interface MessageFramer.Sink

    • Method Detail

      • deliverFrame

        void deliverFrame​(@Nullable
                          WritableBuffer frame,
                          boolean endOfStream,
                          boolean flush,
                          int numMessages)
        Delivers a frame via the transport.
        Parameters:
        frame - a non-empty buffer to deliver or null if the framer is being closed and there is no data to deliver.
        endOfStream - whether the frame is the last one for the GRPC stream
        flush - true if more data may not be arriving soon
        numMessages - the number of messages that this series of frames represents