Package com.mysql.cj.protocol
Interface OutputStreamWatcher
public interface OutputStreamWatcher
Objects that want to be notified of lifecycle events on a WatchableOutputStream should implement this interface, and register themselves with setWatcher()
on the WatchableOutputStream instance.
-
Method Summary
Modifier and Type Method Description void
streamClosed(WatchableStream out)
Called when the OutputStream being watched has .close() called
-
Method Details
-
streamClosed
Called when the OutputStream being watched has .close() called- Parameters:
out
-WatchableStream
-