com.jpeterson.x10
Interface TransmitterListener

All Known Implementing Classes:
TransmitterAdapter

public interface TransmitterListener
extends java.util.EventListener

An extendion to the GatewayListener interface for receiving notification of events associated with a Transmitter. TransmitterListener objects are attached to and removed from a Transmitter by calling the addGatewayListener and removeGatewayListener methods (which Transmitter inherits from the Gateway interface.

The source for all TransmitterEvents provided to a TransmitterListener is the Transmitter.

The TransmitterAdapter class provides a trivial implementation of this interface.

See Also:
TransmitterListener, Tranmitter, Gateway, addGatewayListener, removeGatewayListener

Method Summary
 void queueEmptied(TransmitterEvent e)
          A QUEUE_EMPTIED event has occurred indicating that the output queue of the Transmitter has emptied.
 void queueUpdated(TransmitterEvent e)
          A QUEUE_UPDATED event has occurred indicating that the output queue has changed.
 

Method Detail

queueEmptied

public void queueEmptied(TransmitterEvent e)
A QUEUE_EMPTIED event has occurred indicating that the output queue of the Transmitter has emptied. The Transmitter is in the QUEUE_EMPTY state.
See Also:
QUEUE_EMPTIED, QUEUE_EMPTY

queueUpdated

public void queueUpdated(TransmitterEvent e)
A QUEUE_UPDATED event has occurred indicating that the output queue has changed. The Transmitter is in the QUEUE_NOT_EMPTY state.
See Also:
QUEUE_UPDATED, QUEUE_NOT_EMPTY