]> git.mxchange.org Git - hub.git/blob - application/hub/templates/xml/dht_bootstrap/dht_bootstrap.xml
ba0a81ea1b1eb59289ffadc121208fd967303d41
[hub.git] / application / hub / templates / xml / dht_bootstrap / dht_bootstrap.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 An XML for DHT bootstrapping
4
5 @author         Roland Haeder <webmaster@ship-simu.org>
6 @version        0.0.0
7 @copyright      Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Hub Developer Team
8 @license        GNU GPL 3.0 or any newer version
9 @link           http://www.ship-simu.org
10
11 This program is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>
23 //-->
24 <dht-bootstrap>
25         <!--
26         The data in this message is similar to that in announcement, except that an
27         announcement is sent to boot, master and list nodes but this to "all" nodes
28         that matches some criteria. If we would send this to *really* all nodes,
29         this would easily flood the network.
30
31         Currently this XML message contains the same data fields as announcement.xml
32         but this might be changed in the future. And please remember that you can
33         type as much as you want here, as all will be removed by the compaction
34         step.
35         //-->
36         <dht-bootstrap-data>
37                 <!-- Status of this node, see node_status.xml for details. //-->
38                 <node-status>{?node_status?}</node-status>
39                 <!-- Node mode: regular, master, list, boot again //-->
40                 <node-mode>{?node_default_mode?}</node-mode>
41                 <!-- The session id. This should be announced to all other hubs. //-->
42                 <session-id>{?session_id?}</session-id>
43                 <!-- Data from our listeners (e.g. which port) //-->
44                 <listener>
45                         <!-- Public external address //-->
46                         <external-address>{?external_address?}</external-address>
47                         <!-- Private internal address //-->
48                         <internal-address>{?internal_address?}</internal-address>
49                 </listener>
50         </dht-bootstrap-data>
51 </dht-bootstrap>