Class SignalHandler

  • All Implemented Interfaces:
    java.lang.Runnable

    public class SignalHandler
    extends java.lang.Object
    implements java.lang.Runnable
    On a separate thread, analyses and handles the Signals delivered to it. Picks up signals from a BlockingQueue and processes them.
    Version:
    $Revision$
    Author:
    Shreedhar Ganapathy Date: Jan 22, 2004
    • Constructor Summary

      Constructors 
      Constructor Description
      SignalHandler​(java.util.concurrent.BlockingQueue<SignalPacket> packetQueue, Router router)
      Creates a SignalHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      void stop​(java.lang.Thread t)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SignalHandler

        public SignalHandler​(java.util.concurrent.BlockingQueue<SignalPacket> packetQueue,
                             Router router)
        Creates a SignalHandler
        Parameters:
        packetQueue - the packet exchange queue
        router - the Router
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • stop

        public void stop​(java.lang.Thread t)