
at.yawk.dbus.protocol.auth.command.Cancel Maven / Gradle / Ivy
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
package at.yawk.dbus.protocol.auth.command;
import java.util.List;
/**
* @author yawkat
*/
public class Cancel extends Command {
public static final String NAME = "CANCEL";
public Cancel() {
super(AuthDirection.FROM_CLIENT, NAME);
}
public static Cancel parse(List args) {
if (!args.isEmpty()) { throw new IllegalArgumentException("No arguments expected"); }
return new Cancel();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy