]> git.mxchange.org Git - hub.git/blobdiff - 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
index ca854f602e56fef12c87ff52507fc30e28e6a013..dabd764c0af9ad79f842e8f69fc0212464308662 100644 (file)
@@ -1,10 +1,11 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!--
-A template for announcing itself to upper hubs.
+A template for announcing itself to upper hubs. Do not fill anything in here.
+Please use the config.php file at application/hub/ instead.
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
-@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
 @license       GNU GPL 3.0 or any newer version
 @link          http://www.ship-simu.org
 
@@ -23,14 +24,25 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <announcement>
        <!-- Announcement data like, node id, session id and object types. //-->
-       <annoucement-data>
+       <announcement-data>
                <!-- Our node id. This should be announced only to upper hubs. //-->
                <node-id>{?node_id?}</node-id>
+               <!-- Status of this node, see node_status.xml for details. //-->
+               <node-status>{?node_status?}</node-status>
+               <!-- Data from our listeners (e.g. which port) //-->
+               <listener>
+                       <!-- Listener ports for hub connections //-->
+                       <hub-listener>
+                               <tcp-port>{?node_tcp_listen_port?}</tcp-port>
+                               <udp-port>{?node_udp_listen_port?}</udp-port>
+                       </hub-listener>
+                       <!-- Listener ports for client connections //-->
+                       <client-listener>
+                               <tcp-port>{?node_tcp_listen_port?}</tcp-port>
+                               <udp-port>{?node_udp_listen_port?}</udp-port>
+                       </client-listener>
+               </listener>
                <!-- The session id. This should be announced to all other hubs. //-->
                <session-id>{?session_id?}</session-id>
-               <!-- A list of shared object types. //-->
-               <object-type-list>
-                       <object-type type="{?object_type?}" />
-               </object-type-list>
-       </annoucement-data>
+       </announcement-data>
 </announcement>