-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathChatServer.xml
More file actions
110 lines (92 loc) · 2.59 KB
/
ChatServer.xml
File metadata and controls
110 lines (92 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<quickserver>
<name>Chat Server v 2.0</name>
<port>7412</port>
<bind-address>0.0.0.0</bind-address>
<client-event-handler>
chatserver.ChatCommandHandler
</client-event-handler>
<client-command-handler>
chatserver.ChatCommandHandler
</client-command-handler>
<client-data>
chatserver.ChatData
</client-data>
<client-authentication-handler>
chatserver.ChatAuthenticator
</client-authentication-handler>
<!-- 3 min. (in milliseconds) -->
<timeout>180000</timeout>
<console-logging-level>WARNING</console-logging-level>
<console-logging-formatter>
org.quickserver.util.logging.SimpleConsoleFormatter
</console-logging-formatter>
<communication-logging>
<enable>true</enable>
</communication-logging>
<object-pool>
<max-active>-1</max-active>
<max-idle>20</max-idle>
<thread-object-pool>
<max-active>-1</max-active>
<max-idle>20</max-idle>
</thread-object-pool>
<client-handler-object-pool>
<max-active>-1</max-active>
<max-idle>20</max-idle>
</client-handler-object-pool>
<byte-buffer-object-pool>
<max-active>-1</max-active>
<max-idle>20</max-idle>
</byte-buffer-object-pool>
<client-data-object-pool>
<max-active>-1</max-active>
<max-idle>20</max-idle>
</client-data-object-pool>
</object-pool>
<qsadmin-server>
<name>QSAdminServer v 1.0</name>
<port>7413</port>
<bind-address>127.0.0.1</bind-address>
<client-authentication-handler>
chatserver.QsAdminAuthenticator
</client-authentication-handler>
<server-banner>
QSAdminServer Started on port : 7413
</server-banner>
<command-shell>
<enable>true</enable>
</command-shell>
<communication-logging>
<enable>false</enable>
</communication-logging>
<access-constraint>
<ip-filter>
<enable>true</enable>
<allow-access>true</allow-access>
<ip-collection>
<client-ip-address>127.0.0.1</client-ip-address>
</ip-collection>
</ip-filter>
</access-constraint>
</qsadmin-server>
<access-constraint>
<ip-filter>
<enable>false</enable>
<allow-access>false</allow-access>
<ip-collection>
<client-ip-address>127.0.0.1</client-ip-address>
</ip-collection>
</ip-filter>
</access-constraint>
<application-jar-path>../dist/chatserver.jar</application-jar-path>
<init-server-hooks>
<class-name>chatserver.SetupLoggingHook</class-name>
</init-server-hooks>
<advanced-settings>
<charset>ISO-8859-1</charset>
<use-direct-byte-buffer>true</use-direct-byte-buffer>
<!--<byte-buffer-size>61440</byte-buffer-size>-->
<backlog>1024</backlog>
<socket-linger>-1</socket-linger>
</advanced-settings>
</quickserver>