PrinterObserver Class Referenceabstract

Printer observer. More...

Inheritance diagram for PrinterObserver:

Public Member Functions

void notify (PrinterEvent event)
 
abstract void notifyNewStatus (PrinterStatusEvent event)
 
abstract void notifyNewAlarm (PrinterAlarmEvent event)
 
abstract void notifyNewPaperLevel (PaperLevelEvent event)
 
- Public Member Functions inherited from Observer< T extends Event >
void notify (T event)
 

Detailed Description

Printer observer

Member Function Documentation

void notify ( PrinterEvent  event)

Notify method

Parameters
eventevent
abstract void notifyNewAlarm ( PrinterAlarmEvent  event)
abstract

Called when a PrinterAlarmEvent happens

Parameters
eventevent
abstract void notifyNewPaperLevel ( PaperLevelEvent  event)
abstract

Called when a PaperLevelEvent happens

Parameters
eventevent
abstract void notifyNewStatus ( PrinterStatusEvent  event)
abstract

Called when a PrinterStatusEvent happens

Parameters
eventevent