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

Constructor Index

 o SocketWatchdog(InputStream, int)
Construct a watch dog thread that will send a message to an input stream after a time-out period.

Method Index

 o run()
Run the thread

Constructors

 o 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

Methods

 o run
  public void run()
Run the thread

All Packages  Class Hierarchy  This Package  Previous  Next  Index