Audiovox P965 Ficha de datos Pagina 104

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 280
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 103
API in Java
101
} else {
try {
queue.put(s);
} catch (InterruptedException ex) {
ex.printStackTrace();
System.out.println("exiting reader");
return;
}
s = "";
}
}
}
}
WriteCommand.java
All writing to RouterOS API is done using this.
package libAPI;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author janisk
*/
public class WriteCommand {
private byte[] len = {0};
private DataOutputStream out = null;
private String command = "";
WriteCommand(DataOutputStream out, String command) {
this.out = out;
this.command = command.replaceAll("\n", "").trim();
}
WriteCommand(DataOutputStream out) {
this.out = out;
}
Vista de pagina 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 279 280

Comentarios a estos manuales

Sin comentarios