public interface StreamableReader<T>
readFrom(StreamInput)
method.
Implementers of this interface that also implement Writeable
should see advice there on how to do so.Modifier and Type | Method and Description |
---|---|
T |
readFrom(StreamInput in)
Reads an object of this type from the provided StreamInput.
|
T readFrom(StreamInput in) throws java.io.IOException
java.io.IOException