]> git.mxchange.org Git - hub.git/blob - application/hub/templates/xml/announcement/self_announcement.xml
Continued on test-unit producer, fixed copyright:
[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 the config.php file 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 id, session id and object types. //-->
27         <announcement-data>
28                 <!-- Our node id. This should be announced only to upper hubs. //-->
29                 <node-id>{?node_id?}</node-id>
30                 <!-- Status of this node, see node_status.xml for details. //-->
31                 <node-status>{?node_status?}</node-status>
32                 <!-- Data from our listeners (e.g. which port) //-->
33                 <listener>
34                         <!-- Listener ports for hub connections //-->
35                         <hub-listener>
36                                 <tcp-port>{?node_tcp_listen_port?}</tcp-port>
37                                 <udp-port>{?node_udp_listen_port?}</udp-port>
38                         </hub-listener>
39                         <!-- Listener ports for client connections //-->
40                         <client-listener>
41                                 <tcp-port>{?node_tcp_listen_port?}</tcp-port>
42                                 <udp-port>{?node_udp_listen_port?}</udp-port>
43                         </client-listener>
44                 </listener>
45                 <!-- The session id. This should be announced to all other hubs. //-->
46                 <session-id>{?session_id?}</session-id>
47         </announcement-data>
48 </announcement>