All Packages  This Package  Class Hierarchy  Class Search  Index

Class kh.signal.SignalTest
java.lang.Object
   |
   +----kh.signal.SignalTest

  Summary

public class  SignalTest
     extends java.lang.Object
     implements kh.signal.SignalListener
{
          // Constructors 1
     public SignalTest();

          // Methods 3
     public static void main(String[]);

     public boolean isInterested(int);
     public void signalReceived(int);
}

This class demonstrates how to use JavaSignals.




  Constructors

· SignalTest

Summary  |  Top

   public SignalTest() 


  Methods

· isInterested

Summary  |  Top
   public boolean isInterested(int signalNum) 

Called to determine if this listener is interested in a particular signal number

Implements:
isInterested in interface SignalListener


· main

Summary  |  Top
   public static void main(String[] args) 


· signalReceived

Summary  |  Top
   public void signalReceived(int signalNum) 

Called when the signal is generated by the operating system.

Parameter Description
signalNum a UNIX signal number - ie SIG_KILL

Implements:
signalReceived in interface SignalListener


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7