]> git.mxchange.org Git - hub.git/blob - application/hub/templates/xml/announcement/self_announcement.xml
Some comments updated (very minor)
[hub.git] / application / hub / templates / xml / announcement / self_announcement.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 A template for announcing itself to upper hubs. Do not fill anything in here.
4 Please use config.php/config-local.php files at application/hub/ instead.
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>
26         <!-- Announcement data like, node status, session id etc. //-->
27         <announcement-data>
28                 <!-- Status of this node, see node_status.xml for details. //-->
29                 <node-status>{?node_status?}</node-status>
30                 <!-- The session id. This should be announced to all other hubs. //-->
31                 <session-id>{?session_id?}</session-id>
32                 <!-- Data from our listeners (e.g. which port) //-->
33                 <listener>
34                         <!-- Public external IP address //-->
35                         <external-ip>{?external_ip?}</external-ip>
36                         <!-- Listener ports for hub connections //-->
37                         <hub-listener>
38                                 <tcp-port>{?node_tcp_listen_port?}</tcp-port>
39                                 <udp-port>{?node_udp_listen_port?}</udp-port>
40                         </hub-listener>
41                         <!-- Listener ports for client connections //-->
42                         <client-listener>
43                                 <tcp-port>{?node_tcp_listen_port?}</tcp-port>
44                                 <udp-port>{?node_udp_listen_port?}</udp-port>
45                         </client-listener>
46                 </listener>
47         </announcement-data>
48 </announcement>