com.ibm.eNetwork.beans.HOD.event
Class PrintJobEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.eNetwork.beans.HOD.event.HODEvent
|
+--com.ibm.eNetwork.beans.HOD.event.PrintJobEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class PrintJobEvent
- extends com.ibm.eNetwork.beans.HOD.event.HODEvent
HostPrintSession fires PrintJobEvent events to notify interested listeners
about a current print job.
There are several event types that correlate to the nature of a print job
state change or an error condition occurrence. Some event types contain
additional information.
See
ECLPrintJobEvent.
- See Also:
- Serialized Form
Constructor Summary |
PrintJobEvent(java.lang.Object source,
int type)
|
PrintJobEvent(java.lang.Object source,
int type,
int code,
java.lang.String extraInformation)
|
Method Summary |
int |
getEvent()
This method returns the type of the event object. |
int |
getEventCode()
This method returns detailed information for the event object. |
java.lang.String |
getEventExtraInformation()
This method returns additional details about the event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PrintJobEvent
public PrintJobEvent(java.lang.Object source,
int type,
int code,
java.lang.String extraInformation)
PrintJobEvent
public PrintJobEvent(java.lang.Object source,
int type)
getEvent
public int getEvent()
- This method returns the type of the event object.
See
ECLPrintJobEvent.getEvent().
getEventCode
public int getEventCode()
- This method returns detailed information for the event object.
See
ECLPrintJobEvent.getEventCode().
getEventExtraInformation
public java.lang.String getEventExtraInformation()
- This method returns additional details about the event.
See
ECLPrintJobEvent.getEventExtraInformation().