1 <?xml version="1.0" encoding="UTF-8" ?>
3 The object registry. All known (shareable!) object types/names are "registered"
6 @author Roland Haeder <webmaster@ship-simu.org>
8 @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
9 @license GNU GPL 3.0 or any newer version
10 @link http://www.ship-simu.org
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.
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.
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/>
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.
31 If you don't do so, you may be banned because of unknown object types your
32 node tries to advertise/share.
34 <object-list object-count="{?object_count?}">
35 <!-- A single object type we want to share. //-->
37 <!-- The actual name, this must be the same as tag names are. //-->
38 <object-name>announcement</object-name>
42 upper - Only uploaded to "upper" hubs, these are bootstrap and
44 self - Only upload to itself
45 ??? - More to follow ...
47 <object-recipient-limitation>upper</object-recipient-limitation>
49 Maximum spread of the object. 'self' means only to itself, 1 means,
50 only the direct recipient is allowed to keep it (required for
51 announcements), 2 means the direct recipient may share it to its
52 direct connected hubs. This aids to keep the overall network load at
55 <object-max-spread>1</object-max-spread>
57 The protocol we should use for transmission. Valid values can be
58 'tcp' or 'udp', without the quotes.
60 <object-protocol>tcp</object-protocol>
62 The recipient type for this type of object. This can be only one of
64 --------------------------
65 hub - Only other hubs may receive this object
66 peer - Only connected peers (not hubs) may receive this object
67 all - Hubs and peers may receive this object
69 <object-recipient-type>hub</object-recipient-type>
71 <!-- A single object type we want to share. //-->
73 <!-- The actual name, this must be the same as tag names are. //-->
74 <object-name>self_connect</object-name>
75 <!-- Recipient limitation //-->
76 <object-recipient-limitation>self</object-recipient-limitation>
77 <!-- Maximum spread of the object //-->
78 <object-max-spread>self</object-max-spread>
79 <!-- The protocol we should use for transmission //-->
80 <object-protocol>tcp</object-protocol>
81 <!-- The recipient type for this type of object //-->
82 <object-recipient-type>hub</object-recipient-type>