public interface Writeable
Prefer implementing this interface over implementing Streamable where possible. Lots of code depends on Streamable
so this isn't always possible.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Writeable.Reader<V>
Reference to a method that can read some object from a stream.
|
static interface |
Writeable.Writer<V>
Reference to a method that can write some object to a
StreamOutput. |
| Modifier and Type | Method and Description |
|---|---|
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
void writeTo(StreamOutput out) throws java.io.IOException
java.io.IOException