package com.github.bjoernpetersen.jmusicbot;

import java.io.Closeable;
import javax.annotation.Nonnull;

@FunctionalInterface
public interface BroadcasterInitializer {

  @Nonnull
  Closeable initialize(int port, String groupAddress, String message)
      throws InitializationException;
}

@@ -163,16 +163,438 @@
 izer %7B%0A%0A
+  /**%0A   * Initialized a UDP broadcaster. The broadcaster should broadcast the specified message every few%0A   * seconds with the specified destination port and group address.%0A   *%0A   * @param port a port number%0A   * @param groupAddress a UDP multicast group IPv4 address%0A   * @param message a message to broadcast%0A   * @return a broadcaster%0A   * @throws InitializationException if the broadcaster can not be started%0A   */%0A
   @Nonnu

Document BroadcasterInitializer