Class com.tdac.mail.SocketWatchdog
All Packages Class Hierarchy This Package Previous Next Index
Class com.tdac.mail.SocketWatchdog
java.lang.Object
|
+----com.tdac.mail.SocketWatchdog
- public class SocketWatchdog
- extends Object
- implements Runnable
This class provides a timer thread that will send an 'un-block'
message to an input stream after a time-out period has elasped.
This is currently NOT implemented.
- Version:
- 1.0, 11/11/96
- Author:
- Timothy D. A. Cox
- See Also:
- LineInputStream, LineOutputStream, MailConnection
-
SocketWatchdog(InputStream, int)
- Construct a watch dog thread that will send a message
to an input stream after a time-out period.
-
run()
- Run the thread
SocketWatchdog
public SocketWatchdog(InputStream _is,
int _timeout)
- Construct a watch dog thread that will send a message
to an input stream after a time-out period.
- Parameters:
- is - the stream to be unblocked
- timeout - the time in seconds when the stream should be unblocked
run
public void run()
- Run the thread
All Packages Class Hierarchy This Package Previous Next Index