]> git.mxchange.org Git - hub.git/blob - application/hub/templates/xml/answer/dht/dht_bootstrap_answer.xml
Added missing template engine for DHT bootstrap requests + corresponding XML.
[hub.git] / application / hub / templates / xml / answer / dht / 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 - 2012 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 IP/hostname
33                 //-->
34                 <my-external-ip>{?my_external_ip?}</my-external-ip>
35                 <!--
36                 This node's internal IP/hostname
37                 //-->
38                 <my-internal-ip>{?my_internal_ip?}</my-internal-ip>
39                 <!--
40                 This node's TCP/UDP listen port
41                 //-->
42                 <my-listen-port>{?my_listen_port?}</my-listen-port>
43                 <!--
44                 This node's session id
45                 //-->
46                 <my-session-id>{?my_session_id?}</my-session-id>
47                 <!--
48                 This node's status
49                 //-->
50                 <my-status>{?my_status?}</my-status>
51         </my-data>
52         <!--
53         The following data is the other node's data. This data is being sent to
54         confirm that it has been received correctly.
55         //-->
56         <your-data>
57                 <!--
58                 Other node's external IP/hostname
59                 //-->
60                 <your-external-ip>{?your_external_ip?}</your-external-ip>
61                 <!--
62                 Other node's internal IP/hostname
63                 //-->
64                 <your-internal-ip>{?your_internal_ip?}</your-internal-ip>
65                 <!--
66                 Other node's session id
67                 //-->
68                 <your-session-id>{?your_session_id?}</your-session-id>
69         </your-data>
70         <!--
71         Status of this answer. This can be something like OKAY if all went fine or
72         any other error code.
73         //-->
74         <answer-status>{?answer_status?}</answer-status>
75         <!--
76         Initial DHT data, this will be other nodes that have the DHT active.
77         //-->
78         <dht-nodes-list>
79                 <!--
80                 The actual DHT data.
81                 //-->
82                 {?dht_nodes?}
83         </dht-nodes-list>
84 </dht-bootstrap-answer>