package PACKAGE;

import fr.lteconsulting.autothreaded.BaseAutoThreaded;
import fr.lteconsulting.autothreaded.AutoThreadMessage;
import java.util.concurrent.Future;

public class CLASS_NAME extends BASE_CLASS_NAME
{
	private final BaseAutoThreaded autothreaded = new BaseAutoThreaded(CONSTRUCTOR)
	{
		@Override
		protected Object processMessage( AutoThreadMessage message )
		{
			switch(message.getMethodId())
			{
DELEGATE
			}
			
			throw new IllegalStateException( "Unknown message : " + message );
		}
		
		@Override
		protected void onEmptyMessageQueue()
		{
EMPTY_QUEUE
		}
	};
	
	public CLASS_NAME()
	{
		autothreaded.start();
	}
	
	public void stop()
	{
		autothreaded.stop();
	}

METHODS
}
