examples.SimpleCommandWithResults Maven / Gradle / Ivy
package examples;
import java.util.List;
import java.util.Map;
import me.legrange.mikrotik.MikrotikApiException;
/**
* Example 2: A command that returns results. Print all interfaces
*
* @author gideon
*/
public class SimpleCommandWithResults extends Example {
public static void main(String... args) throws Exception {
SimpleCommandWithResults ex = new SimpleCommandWithResults();
ex.connect();
ex.test();
ex.disconnect();
}
private void test() throws MikrotikApiException {
List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy