gnu.hylafax.job
Class BasicSendNotifier

java.lang.Object
  |
  +--gnu.hylafax.job.BasicSendNotifier
All Implemented Interfaces:
SendNotifier
Direct Known Subclasses:
SendAndReceiveNotifier

public class BasicSendNotifier
extends java.lang.Object
implements SendNotifier

This interface defines what a class should implement in order to notify others of job related events.

Version:
$Id: BasicSendNotifier.java,v 1.2 2005/06/02 03:37:23 sjardine Exp $
Author:
$Author: sjardine $
See Also:
SendListener, SendEvent

Constructor Summary
BasicSendNotifier()
           
 
Method Summary
 void addSendListener(SendListener l)
          This method is called to register a Job Listener.
 void notifySendListeners(SendEvent details)
          This method is called when Job state changes.
 void removeSendListener(SendListener l)
          This method is used to deregister a Job Listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicSendNotifier

public BasicSendNotifier()
Method Detail

notifySendListeners

public void notifySendListeners(SendEvent details)
This method is called when Job state changes.
Specified by:
notifySendListeners in interface SendNotifier

addSendListener

public void addSendListener(SendListener l)
This method is called to register a Job Listener.
Specified by:
addSendListener in interface SendNotifier

removeSendListener

public void removeSendListener(SendListener l)
This method is used to deregister a Job Listener.
Specified by:
removeSendListener in interface SendNotifier