aicas logo Jamaica 3.4 release 8

com.aicas.jamaica.lang
Class SigIntHandler

java.lang.Object
  extended by javax.realtime.AsyncEventHandler
      extended by com.aicas.jamaica.lang.SigIntHandler
All Implemented Interfaces:
Runnable, Schedulable

public class SigIntHandler
extends AsyncEventHandler

SigIntHandler provides Jamaica's default handler for SIG_INT, i.e., the POSIX signal that is sent on a control+c key stroke. The default handler prints "*** break." to stderr and calls System.exit(130);


Constructor Summary
SigIntHandler()
          Constructor to intialize and activate this SigIntHandler.
 
Method Summary
 void handleAsyncEvent()
          The event handling routine itself.
 
Methods inherited from class javax.realtime.AsyncEventHandler
addIfFeasible, addToFeasibility, finalize, getAndClearPendingFireCount, getAndDecrementPendingFireCount, getAndIncrementPendingFireCount, getMemoryArea, getMemoryParameters, getPendingFireCount, getProcessingGroupParameters, getReleaseParameters, getScheduler, getSchedulingParameters, isDaemon, removeFromFeasibility, run, setDaemon, setIfFeasible, setIfFeasible, setIfFeasible, setIfFeasible, setIfFeasible, setMemoryParameters, setMemoryParametersIfFeasible, setProcessingGroupParameters, setProcessingGroupParametersIfFeasible, setReleaseParameters, setReleaseParametersIfFeasible, setScheduler, setScheduler, setSchedulingParameters, setSchedulingParametersIfFeasible
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SigIntHandler

public SigIntHandler()
Constructor to intialize and activate this SigIntHandler.

Method Detail

handleAsyncEvent

public void handleAsyncEvent()
The event handling routine itself. On first call, will remove the handler, print "*** break." to stderr, and call System.exit(130).

Overrides:
handleAsyncEvent in class AsyncEventHandler

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.