|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectintr.InterruptRequest
public class InterruptRequest
This class describes and Interrupt Request that is sent to the PIC8259.
Constructor Summary | |
---|---|
InterruptRequest(int ir_id,
java.lang.String device)
Parameterized constructor. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object anotherInterrupt)
This method compares two InterruptRequest objects. |
java.lang.String |
getDevice()
Returns the description associated to the device. |
int |
getIrId()
Return the Id of the IRQ. |
java.sql.Timestamp |
getTimeStamp()
Return the timestamp of when the IRQ was sent. |
void |
setTimeStamp()
Set the current timestamp to this Interrupt Request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterruptRequest(int ir_id, java.lang.String device)
ir_id
- Line Id of the Interrupt Request.device
- A brief description of the device sending the IRQ.Method Detail |
---|
public int getIrId()
public java.lang.String getDevice()
public java.sql.Timestamp getTimeStamp()
public void setTimeStamp()
public int compareTo(java.lang.Object anotherInterrupt)
compareTo
in interface java.lang.Comparable
anotherInterrupt
- An InterruptRequest object we want this InterruptRequest to be compared with.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |