@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 - 2014 Hub Developer Team
@license GNU GPL 3.0 or any newer version
@link http://www.ship-simu.org
If you don't do so, you may be banned because of unknown object types your
node tries to advertise/share.
//-->
- <object-list>
+ <object-list object-count="{?object_count?}">
<!-- A single object type we want to share. //-->
<object-list-entry>
<!-- The actual name, this must be the same as tag names are. //-->
<!--
Recipient limitation:
---------------------
- upper - Only uploaded to "upper" hubs, these are bootstrap and
- list-nodes
- self - Only upload to itself
- ??? - More to follow ...
+ upper - Only send to "upper" hubs, these are bootstrap, master and
+ list-nodes
+ self - Only send to itself
+ direct - Only direct recipient(s)
+ all - self, upper and direct recipients (currently available)
+ ??? - More to follow ...
//-->
<object-recipient-limitation>upper</object-recipient-limitation>
<!--
//-->
<object-max-spread>1</object-max-spread>
<!--
- The protocol we should use for transmission. Valid values can be
- 'tcp' or 'udp', without the quotes.
+ The protocol we should use for transmission. Valid is 'unl' without
+ the quotes.
//-->
<object-protocol>tcp</object-protocol>
<!--
//-->
<object-recipient-type>hub</object-recipient-type>
</object-list-entry>
- <!-- A single object type we want to share. //-->
<object-list-entry>
- <!-- The actual name, this must be the same as tag names are. //-->
<object-name>self_connect</object-name>
- <!-- Recipient limitation //-->
<object-recipient-limitation>self</object-recipient-limitation>
- <!-- Maximum spread of the object //-->
<object-max-spread>self</object-max-spread>
- <!-- The protocol we should use for transmission //-->
- <object-protocol>tcp</object-protocol>
- <!-- The recipient type for this type of object //-->
+ <object-protocol>unl</object-protocol>
+ <object-recipient-type>hub</object-recipient-type>
+ </object-list-entry>
+ <object-list-entry>
+ <object-name>announcement_answer</object-name>
+ <object-recipient-limitation>direct</object-recipient-limitation>
+ <object-max-spread>1</object-max-spread>
+ <object-protocol>unl</object-protocol>
+ <object-recipient-type>hub</object-recipient-type>
+ </object-list-entry>
+ <object-list-entry>
+ <object-name>request_node_list</object-name>
+ <object-recipient-limitation>upper</object-recipient-limitation>
+ <object-max-spread>1</object-max-spread>
+ <object-protocol>unl</object-protocol>
+ <object-recipient-type>hub</object-recipient-type>
+ </object-list-entry>
+ <object-list-entry>
+ <object-name>request_node_list_answer</object-name>
+ <object-recipient-limitation>direct</object-recipient-limitation>
+ <object-max-spread>1</object-max-spread>
+ <object-protocol>unl</object-protocol>
+ <object-recipient-type>hub</object-recipient-type>
+ </object-list-entry>
+ <object-list-entry>
+ <object-name>dht_bootstrap</object-name>
+ <object-recipient-limitation>all</object-recipient-limitation>
+ <object-max-spread>3</object-max-spread>
+ <object-protocol>unl</object-protocol>
+ <object-recipient-type>hub</object-recipient-type>
+ </object-list-entry>
+ <object-list-entry>
+ <object-name>dht_bootstrap_answer</object-name>
+ <object-recipient-limitation>direct</object-recipient-limitation>
+ <object-max-spread>1</object-max-spread>
+ <object-protocol>unl</object-protocol>
+ <object-recipient-type>hub</object-recipient-type>
+ </object-list-entry>
+ <object-list-entry>
+ <object-name>dht_publish_entry</object-name>
+ <object-recipient-limitation>all</object-recipient-limitation>
+ <object-max-spread>4</object-max-spread>
+ <object-protocol>unl</object-protocol>
<object-recipient-type>hub</object-recipient-type>
</object-list-entry>
</object-list>