]> git.mxchange.org Git - hub.git/blob - application/hub/templates/xml/answer/announcement/announcement_answer.xml
Renamed all 'node-foo' to 'my-foo' and 'other-bar' to 'your-bar' to make them more...
[hub.git] / application / hub / templates / xml / answer / announcement / announcement_answer.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 An XML template for answering announcements from other nodes. This template may
4 be used to indicate that this node does not want to receive announcements.
5
6 @author         Roland Haeder <webmaster@ship-simu.org>
7 @version        0.0.0
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
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 <announcement-answer>
26         <!--
27         The following data is from this node.
28         //-->
29         <my-data>
30                 <!--
31                 This node's external IP/hostname
32                 //-->
33                 <my-external-ip>{?external_ip?}</my-external-ip>
34                 <!--
35                 This node's internal IP/hostname
36                 //-->
37                 <my-internal-ip>{?internal_ip?}</my-internal-ip>
38                 <!--
39                 This node's TCP port
40                 //-->
41                 <my-tcp-port>{?node_tcp_listen_port?}</my-tcp-port>
42                 <!--
43                 This node's UDP port
44                 //-->
45                 <my-udp-port>{?node_udp_listen_port?}</my-udp-port>
46                 <!--
47                 This node's session id
48                 //-->
49                 <my-session-id>{?session_id?}</my-session-id>
50                 <!--
51                 This node's status
52                 //-->
53                 <my-status>{?node_status?}</my-status>
54         </my-data>
55         <!--
56         The following data is the other node's data. This data is being sent to
57         confirm that it has been received correctly.
58         //-->
59         <your-data>
60                 <!--
61                 Other node's external IP/hostname
62                 //-->
63                 <your-external-ip>{?your_external_ip?}</your-external-ip>
64                 <!--
65                 Other node's internal IP/hostname
66                 //-->
67                 <your-internal-ip>{?your_internal_ip?}</your-internal-ip>
68                 <!--
69                 Other node's session id
70                 //-->
71                 <your-session-id>{?your_session_id?}</your-session-id>
72         </your-data>
73         <!--
74         Status of this answer. This can be something like OKAY if all went fine or
75         any other error code.
76         //-->
77         <answer-status>{?answer_status?}</answer-status>
78 </announcement-answer>