All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.bjoernpetersen.jmusicbot.playback.PlaybackFactory Maven / Gradle / Ivy

There is a newer version: 0.25.0
Show newest version
package com.github.bjoernpetersen.jmusicbot.playback;

import com.github.bjoernpetersen.jmusicbot.InitStateWriter;
import com.github.bjoernpetersen.jmusicbot.InitializationException;
import com.github.bjoernpetersen.jmusicbot.Plugin;
import java.util.Collection;
import javax.annotation.Nonnull;

public interface PlaybackFactory extends Plugin {

  /**
   * 

Initializes the PlaybackFactory. After this call, the factory should be operational until * {@link #close()} is called.

* * @param initStateWriter a writer for initialization state messages * @throws InitializationException if anything goes wrong * @throws InterruptedException if the thread is interrupted while initializing */ void initialize(@Nonnull InitStateWriter initStateWriter) throws InitializationException, InterruptedException; /** * Gets the PlaybackFactories this is implementing. * * @return a collection of PlaybackFactory interfaces */ @Nonnull Collection> getBases(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy