public static class TimeoutOutputStream
extends Object
An OutputStream that wraps the Socket's OutputStream and uses
the ScheduledExecutorService to schedule a task to close the
socket (aborting the write) if the timeout expires.
- See Also:
- Serialized Form