예제 #1
0
 public PolledInterrupt(InterruptHandler handler)
 {
     this.handler = handler;
 }
예제 #2
0
 /// <summary>
 /// This function executes an interrupt
 /// </summary>
 /// <param name="handle"> the interrupts handler</param>
 /// <returns> the return value of the interrupt or null if the interrupt did not return a value</returns>
 public override int?Execute(InterruptHandler handle)
 {
     throw new NotImplementedException();
 }
 public VectoredInterrupt(InterruptHandler handler)
 {
     this.handler = handler;
 }
예제 #4
0
 /// <summary>
 /// This function executes an interrupt
 /// </summary>
 /// <param name="handle"> the interrupts handler</param>
 /// <returns> the return value of the interrupt or null if the interrupt did not return a value</returns>
 public abstract int?Execute(InterruptHandler handle);
 /// <summary>
 /// This function executes an interrupt
 /// </summary>
 /// <param name="handle"> the interrupts handler</param>
 /// <returns> the return value of the interrupt or null if the interrupt did not return a value</returns>
 public override int?Execute(InterruptHandler handle)
 {
     throw new NotSupportedException("Only Polled Interrupts can be Executed call Fire() instead");
 }