/*
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
*/
|
package de.uhilger.calypso.handler;
|
|
import com.sun.net.httpserver.HttpExchange;
|
import de.uhilger.calypso.App;
|
|
/**
|
*
|
* @author ulli
|
*/
|
public class VLCKillHandler extends AbstractHandler {
|
|
@Override
|
protected String process(HttpExchange t, String params) {
|
Process p = App.getPlayerProcess();
|
p.destroy();
|
App.setPlayerProcess(null);
|
String antwort = "Player-Prozess beendet.";
|
return antwort;
|
}
|
|
}
|