-void Principal::on_get_clicked()
-{
- if (conexion == NULL) {
- txt_view->get_buffer()->insert_at_cursor("SIN CONEXION\n");
- return;
- }
-
- PlaQui::Server::Command command(txt_target->get_text(), txt_command->get_text());
- command.add_arg( txt_args->get_text() );
- txt_view->get_buffer()->insert_at_cursor("Enviando comando\n");
- try {
- conexion->send(command);
- }
- catch (...) {
- txt_view->get_buffer()->insert_at_cursor("EXCEPTION EN conexion->send !!\n");
- }
-
-}
-