@NotThreadSafe public final class GrpcDataReader extends Object implements DataReader
Modifier and Type | Class and Description |
---|---|
static class |
GrpcDataReader.Factory
Factory class to create
GrpcDataReader s. |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
pos() |
DataBuffer |
readChunk()
Reads a chunk.
|
public long pos()
pos
in interface DataReader
public DataBuffer readChunk() throws IOException
DataReader
readChunk
in interface DataReader
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2023. All Rights Reserved.