public static interface MessageFramer.Sink
Modifier and Type | Method and Description |
---|---|
void |
deliverFrame(WritableBuffer frame,
boolean endOfStream,
boolean flush,
int numMessages)
Delivers a frame via the transport.
|
void deliverFrame(@Nullable WritableBuffer frame, boolean endOfStream, boolean flush, int numMessages)
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 streamflush
- true
if more data may not be arriving soonnumMessages
- the number of messages that this series of frames representsCopyright © 2018. All rights reserved.