class MarySynthesizedOutput implements SynthesizedOutput, SynthesizedOutputListener {

    @Override
    public void queueSpeakable(final SpeakableText speakable,
            final String sessionId, final DocumentServer server)
            throws NoresourceError {
        if (processor == null) {
            throw new NoresourceError("no synthesizer: cannot speak");
        }
        if (LOGGER.isDebugEnabled()) {
            LOGGER.debug("queued speakable: " + speakable);
        }
        synthesisQueue.queueSpeakables(speakable);
        speakableQueueEmpty = false;
    }

    public  MarySynthesizedOutput();

}