public interface ReadStrategy<Result>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Shutdown the reading
|
java.io.DataInputStream |
getStream()
Get the stream for reading in
|
Result |
read()
Read in data
|
void |
setStream(java.io.DataInputStream inStream)
Sets the stream.
|
Result read() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException - when there is an error with connectionjava.lang.ClassNotFoundException - When a object is sent and not foundvoid close()
throws java.io.IOException
java.io.IOExceptionjava.io.DataInputStream getStream()
void setStream(java.io.DataInputStream inStream)
inStream - stream used to read from