Constantin Kaplinsky | 47ed8d3 | 2004-10-08 09:43:57 +0000 | [diff] [blame] | 1 | /* Copyright (C) 2002-2004 RealVNC Ltd. All Rights Reserved. |
| 2 | * |
| 3 | * This is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by |
| 5 | * the Free Software Foundation; either version 2 of the License, or |
| 6 | * (at your option) any later version. |
| 7 | * |
| 8 | * This software is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this software; if not, write to the Free Software |
| 15 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
| 16 | * USA. |
| 17 | */ |
| 18 | |
| 19 | // -=- ServerCore.h |
| 20 | |
| 21 | // This header will define the Server interface, from which ServerMT and |
| 22 | // ServerST will be derived. |
| 23 | |
| 24 | #ifndef __RFB_SERVER_CORE_H__ |
| 25 | #define __RFB_SERVER_CORE_H__ |
| 26 | |
| 27 | #include <rfb/Configuration.h> |
| 28 | #include <rfb/util.h> |
| 29 | |
| 30 | namespace rfb { |
| 31 | |
| 32 | class Server { |
| 33 | public: |
| 34 | |
| 35 | static IntParameter idleTimeout; |
Peter Åstrand | 43aa1a1 | 2005-02-21 09:58:31 +0000 | [diff] [blame^] | 36 | static IntParameter maxDisconnectionTime; |
| 37 | static IntParameter maxConnectionTime; |
| 38 | static IntParameter maxIdleTime; |
Constantin Kaplinsky | 47ed8d3 | 2004-10-08 09:43:57 +0000 | [diff] [blame] | 39 | static IntParameter clientWaitTimeMillis; |
| 40 | static StringParameter sec_types; |
| 41 | static StringParameter rev_sec_types; |
| 42 | static BoolParameter compareFB; |
| 43 | static BoolParameter protocol3_3; |
| 44 | static BoolParameter alwaysShared; |
| 45 | static BoolParameter neverShared; |
| 46 | static BoolParameter disconnectClients; |
| 47 | static BoolParameter acceptKeyEvents; |
| 48 | static BoolParameter acceptPointerEvents; |
| 49 | static BoolParameter acceptCutText; |
| 50 | static BoolParameter sendCutText; |
| 51 | static BoolParameter queryConnect; |
| 52 | static IntParameter blacklistLevel; |
| 53 | |
| 54 | }; |
| 55 | |
| 56 | }; |
| 57 | |
| 58 | #endif // __RFB_SERVER_CORE_H__ |
| 59 | |