]> git.mxchange.org Git - hub.git/blob - application/hub/templates/xml/answer/dht_bootstrap/dht_bootstrap_answer.xml
Updated copyright year as this software has been changed in this year.
[hub.git] / application / hub / templates / xml / answer / dht_bootstrap / dht_bootstrap_answer.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 An XML template for answering DHT bootstrap requests from other nodes. This
4 template may be used to indicate that this node does not want to receive
5 DHT bootstrap requests.
6
7 @author         Roland Haeder <webmaster@ship-simu.org>
8 @version        0.0.0
9 @copyright      Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
10 @license        GNU GPL 3.0 or any newer version
11 @link           http://www.ship-simu.org
12
13 This program is free software: you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 GNU General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with this program. If not, see <http://www.gnu.org/licenses/>
25 //-->
26 <dht-bootstrap-answer>
27         <!--
28         The following data is from this node.
29         //-->
30         <my-data>
31                 <!--
32                 This node's external address
33                 //-->
34                 <my-external-address>{?my_external_address?}</my-external-address>
35                 <!--
36                 This node's internal address
37                 //-->
38                 <my-internal-address>{?my_internal_address?}</my-internal-address>
39                 <!--
40                 This node's session id
41                 //-->
42                 <my-session-id>{?my_session_id?}</my-session-id>
43                 <!--
44                 This node's status
45                 //-->
46                 <my-status>{?my_status?}</my-status>
47         </my-data>
48         <!--
49         The following data is the other node's data. This data is being sent to
50         confirm that it has been received correctly.
51         //-->
52         <your-data>
53                 <!--
54                 Other node's external address
55                 //-->
56                 <your-external-address>{?your_external_address?}</your-external-address>
57                 <!--
58                 Other node's internal address
59                 //-->
60                 <your-internal-address>{?your_internal_address?}</your-internal-address>
61                 <!--
62                 Other node's session id
63                 //-->
64                 <your-session-id>{?your_session_id?}</your-session-id>
65         </your-data>
66         <!--
67         Status of this answer. This can be something like OKAY if all went fine or
68         any other error code.
69         //-->
70         <answer-status>{?answer_status?}</answer-status>
71         <!--
72         Initial DHT data, this will be other nodes that have the DHT active.
73         //-->
74         <dht-nodes-list>
75                 <!--
76                 The actual DHT data.
77                 //-->
78                 {?dht_nodes?}
79         </dht-nodes-list>
80 </dht-bootstrap-answer>