|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
public void queueEmptied(TransmitterEvent e)
QUEUE_EMPTIED
event has occurred indicating that the
output queue of the Transmitter
has emptied. The
Transmitter
is in the QUEUE_EMPTY
state.QUEUE_EMPTIED
,
QUEUE_EMPTY
public void queueUpdated(TransmitterEvent e)
QUEUE_UPDATED
event has occurred indicating that the
output queue has changed. The
Transmitter
is in the QUEUE_NOT_EMPTY
state.QUEUE_UPDATED
,
QUEUE_NOT_EMPTY
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |