Class WriteTimeoutSocket

java.lang.Object
java.net.Socket
com.sun.mail.util.WriteTimeoutSocket
All Implemented Interfaces:
Closeable, AutoCloseable

public class WriteTimeoutSocket extends Socket
A special Socket that uses a ScheduledExecutorService to implement timeouts for writes. The write timeout is specified (in milliseconds) when the WriteTimeoutSocket is created.
Author:
Bill Shannon