- eof
 - the result of the calling read operation. A negative value indicates that EOF is reached.
 
Type Reason Java.IO.IOException in case of an IO problem on closing the underlying stream 
Detects EOF and notifies the watcher.
 This method should only be called while the underlying stream is
 still accessible. Use EofSensorInputStream.IsReadAllowed to
 check that condition.
 
 If EOF is detected, the watcher will be notified and this stream
 is detached from the underlying stream. This prevents multiple
 notifications from this stream.