com.lti.utils.synchronization.MessageDrivenThread Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
package com.lti.utils.synchronization;
/**
* A useful base class for a thread that wishes to simply respond to messages.
*
* @author Ken Larson
*/
public class MessageDrivenThread extends CloseableThread
{
private MessageDrivenThreadListener listener;
private final ProducerConsumerQueue