dev.qixils.crowdcontrol.StartableService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crowd-control-sender Show documentation
Show all versions of crowd-control-sender Show documentation
Library for sending effect requests to a receiving game server or clients
The newest version!
package dev.qixils.crowdcontrol;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.Blocking;
import org.reactivestreams.Publisher;
import java.io.IOException;
/**
* A simulated service that must be manually started.
*
* @param the type of {@link Publisher} returned by the {@code #sendRequest} methods
* @since 3.3.0
*/
@ApiStatus.AvailableSince("3.3.0")
public interface StartableService extends SimulatedService {
/**
* Starts the simulated server or client.
*
* @throws IOException if an I/O error occurs in the underlying socket
* @since 3.3.0
*/
@ApiStatus.AvailableSince("3.3.0")
@Blocking
void start() throws IOException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy