Cumulus4j API
(1.1.0)

org.cumulus4j.keymanager.channel
Class KeyManagerChannelListenerThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.cumulus4j.keymanager.channel.KeyManagerChannelListenerThread
All Implemented Interfaces:
Runnable

public class KeyManagerChannelListenerThread
extends Thread

Thread that listens to incoming Requests and processes them.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
KeyManagerChannelListenerThread(KeyManagerChannelManager keyManagerChannelManager)
          Instantiate a new listener thread.
 
Method Summary
 void interrupt()
           
 boolean isInterrupted()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyManagerChannelListenerThread

public KeyManagerChannelListenerThread(KeyManagerChannelManager keyManagerChannelManager)
Instantiate a new listener thread.

Parameters:
keyManagerChannelManager - the manager which instantiates this thread and manages the RequestHandlers to dispatch the incoming requests to.
Method Detail

interrupt

public void interrupt()
Overrides:
interrupt in class Thread

isInterrupted

public boolean isInterrupted()
Overrides:
isInterrupted in class Thread

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

Cumulus4j API
(1.1.0)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.