Source Code Cross Referenced for RdpOptions.java in  » Net » Remote-desktop » org » rdesktop » server » rdp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » Remote desktop » org.rdesktop.server.rdp 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        ///////////////////////////////////////////////////////////////////////////////
02:        //
03:        //   This program is free software; you can redistribute it and/or modify
04:        //   it under the terms of the GNU General Public License and GNU Library
05:        //   General Public License as published by the Free Software Foundation;
06:        //   either version 2, or (at your option) any later version.
07:        //
08:        //   This program is distributed in the hope that it will be useful,
09:        //   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 and GNU Library General Public License
12:        //   for more details.
13:        //
14:        //   You should have received a copy of the GNU General Public License
15:        //   and GNU Library General Public License along with this program; if
16:        //   not, write to the Free Software Foundation, 675 Mass Ave, Cambridge,
17:        //   MA 02139, USA.
18:        //
19:        ///////////////////////////////////////////////////////////////////////////////
20:
21:        package org.rdesktop.server.rdp;
22:
23:        import java.awt.image.DirectColorModel;
24:
25:        public class RdpOptions {
26:            public static final int DIRECT_BITMAP_DECOMPRESSION = 0;
27:            public static final int BUFFEREDIMAGE_BITMAP_DECOMPRESSION = 1;
28:            public static final int INTEGER_BITMAP_DECOMPRESSION = 2;
29:            public static final int bitmap_decompression_store = INTEGER_BITMAP_DECOMPRESSION;
30:
31:            public static boolean use_rdp5 = true;
32:            public static boolean low_latency = true;
33:            public static int keylayout = 0x409; // US
34:            public static String windowTitle = "Remote Desktop Exchange ( Using MyOODB / rdesktop )";
35:
36:            public static boolean built_in_license = false;
37:
38:            public static boolean license = true;
39:            public static boolean load_license = false;
40:            public static boolean save_license = false;
41:            public static String license_path = "./";
42:
43:            public static boolean remap_hash = true;
44:            public static boolean altkey_quiet = false;
45:            public static boolean useLockingKeyState = true;
46:            public static boolean caps_sends_up_and_down = true;
47:
48:            public static int server_bpp = 24;
49:            public static int Bpp = (server_bpp + 7) / 8;
50:            public static int bpp_mask = 0xFFFFFF >> 8 * (3 - Bpp);
51:
52:            public static int server_rdp_version;
53:            public static boolean bitmap_caching = false;
54:            public static boolean precache_bitmaps = false;
55:            public static boolean bitmap_compression = true;
56:            public static boolean polygon_ellipse_orders = false;
57:            public static boolean persistent_bitmap_caching = false;
58:
59:            public static boolean orders = true;
60:            public static boolean desktop_save = true;
61:            public static boolean console_session = false;
62:
63:            public static boolean use_ssl = false;
64:            public static boolean encryption = true;
65:            public static boolean map_clipboard = true;
66:
67:            /*
68:            public static int rdp5_performanceflags = RdpProto.RDP5_NO_CURSOR_SHADOW | RdpProto.RDP5_NO_MENUANIMATIONS |
69:                                                      RdpProto.RDP5_NO_FULLWINDOWDRAG | RdpProto.RDP5_NO_WALLPAPER;
70:             */
71:            public static int rdp5_performanceflags = RdpProto.RDP5_NO_CURSOR_SHADOW
72:                    | RdpProto.RDP5_NO_CURSORSETTINGS
73:                    | RdpProto.RDP5_NO_FULLWINDOWDRAG
74:                    | RdpProto.RDP5_NO_MENUANIMATIONS
75:                    | RdpProto.RDP5_NO_THEMING | RdpProto.RDP5_NO_WALLPAPER;
76:
77:            public static void set_bpp(int server_bpp) {
78:                RdpOptions.server_bpp = server_bpp;
79:                RdpOptions.Bpp = (server_bpp + 7) / 8;
80:
81:                if (server_bpp == 8) {
82:                    bpp_mask = 0xFF;
83:                } else {
84:                    bpp_mask = 0xFFFFFF;
85:                }
86:            }
87:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.