?? monitor.h
字號:
/* LiMon-Server| Copyright (C) 2006 Marcelo Busico|| Author: Marcelo Busico marcelobusico@gmail.com|| This program is free software which I release under the GNU General Public| License. You may redistribute and/or modify this program under the terms| of that license as published by the Free Software Foundation; either| version 2 of the License, or (at your option) any later version.|| This program is distributed in the hope that it will be useful,| but WITHOUT ANY WARRANTY; without even the implied warranty of| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the| GNU General Public License for more details. Version 2 is in the| LICENSE.txt file in the top level directory of this distribution.| | To get a copy of the GNU General Puplic License, write to the Free Software| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA*//* Cabecera del monitor en tiempo real en el servidor */#ifndef MONITOR_H_#define MONITOR_H_class MonitorServidor{private: //Atributos int sockfd; char password[32];public: //Constructor por defecto MonitorServidor(); //Parametro: Socket File Descriptor - Tipo: Int; Password - Tipo: char[32] MonitorServidor(int sfd, char* pass); //Establecer sockfd void setSockfd(int sfd); //Comienza el proceso de monitoreo del sistema - Parametro: Debug(0/1) void monitorear(int debug);};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -