Package com.aoindustries.io.stream
Interface Streamable
-
- All Superinterfaces:
StreamReadable,StreamWritable
public interface Streamable extends StreamReadable, StreamWritable
Indicates that an object may be sent across aStreamableInputandStreamableOutput.- Author:
- AO Industries, Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidread(StreamableInput in, String protocolVersion)voidwrite(StreamableOutput out, String protocolVersion)
-
-
-
Method Detail
-
read
void read(StreamableInput in, String protocolVersion) throws IOException
- Specified by:
readin interfaceStreamReadable- Throws:
IOException
-
write
void write(StreamableOutput out, String protocolVersion) throws IOException
- Specified by:
writein interfaceStreamWritable- Throws:
IOException
-
-