async.net.RemoteControl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of async Show documentation
Show all versions of async Show documentation
ASync is an asynchronous library to handle asynchronous communication over sockets, console and web.
The newest version!
package async.net;
/**
* When starting a service you use this to stop and check if it's running.
*
*
ASyncHttp http = new ASync().http();
RemoteControl remote = http.listen(8080, httpCallback);
if (remote.isActive()) {
remote.stop();
}
*
*/
public interface RemoteControl {
/**
* Chack the status on the service.
*
* @return true if service is running.
*/
boolean isActive();
/**
* Stops the service.
*/
void stop();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy