<?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
<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>{?hub_tcp_port?}</tcp-port>
+ <udp-port>{?hub_udp_port?}</udp-port>
+ </hub-listener>
+ <!-- Listener ports for client connections //-->
+ <client-listener>
+ <tcp-port>{?client_tcp_port?}</tcp-port>
+ <udp-port>{?client_udp_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?}" />
+ <!-- A single object type this hub shares. //-->
+ <object-type>{?object_type?}</object-type>
</object-type-list>
</annoucement-data>
</announcement>