]> git.mxchange.org Git - hub.git/blob - application/hub/templates/xml/object_registry/object_registry.xml
A whole bunch of classes/interfaces/exceptions added, many refacturings:
[hub.git] / application / hub / templates / xml / object_registry / object_registry.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 The object registry. All known (shareable!) object types/names are "registered"
4 here.
5
6 @author         Roland Haeder <webmaster@ship-simu.org>
7 @version        0.0.0
8 @copyright      Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
9 @license        GNU GPL 3.0 or any newer version
10 @link           http://www.ship-simu.org
11
12 This program is free software: you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation, either version 3 of the License, or
15 (at your option) any later version.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program. If not, see <http://www.gnu.org/licenses/>
24 //-->
25 <object-registry>
26         <!--
27         A list of object types this hub accepts. Please leave all untouched if
28         you want to participate in the main network. If you need special objects,
29         please disconnect from our boot hubs and start your own network.
30         
31         If you don't do so, you may be banned because of unknown object types your
32         node tries to advertise/share.
33         //-->
34         <object-list>
35                 <!-- A single object type we want to share. //-->
36                 <object-list-entry>
37                         <!-- The actual name, this must be the same as tag names are. //-->
38                         <object-name>announcement</object-name>
39                         <!--
40                         Recipient limitation:
41                         ---------------------
42                         upper - Only uploaded to "upper" hubs, these are bootstrap and
43                                 list-nodes
44                         ???   - More to follow ...
45                         //-->
46                         <object-recipient-limitation>upper</object-recipient-limitation>
47                         <!--
48                         Maximum spread of the object. 1 means, only the direct recipient is
49                         allowed to keep it (required for announcements), 2 means the direct
50                         recipient may share it to its direct connected hubs. This aids to
51                         keep the overall network load at low-profile.
52                         //-->
53                         <object-max-spread>1</object-max-spread>
54                         <!--
55                         The protocol we should use for transmission. Valid values can be
56                         'tcp' or 'udp', without the quotes.
57                         //-->
58                         <object-protocol>tcp</object-protocol>
59                 </object-list-entry>
60         </object-list>
61 </object-registry>