]> git.mxchange.org Git - hub.git/blobdiff - application/hub/templates/xml/answer/announcement/announcement_answer.xml
Added internal IP handling (unfinished), added package tags
[hub.git] / application / hub / templates / xml / answer / announcement / announcement_answer.xml
index fbef1a408245b18f0f2e867ed01859551f707530..9360edd833c3efa263c40353719f1328eb158dd9 100644 (file)
@@ -23,4 +23,56 @@ You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <announcement-answer>
+       <!--
+       The following data is from this node.
+       //-->
+       <node-data>
+               <!--
+               This node's external IP/hostname
+               //-->
+               <node-external-ip>{?external_ip?}</node-external-ip>
+               <!--
+               This node's internal IP/hostname
+               //-->
+               <node-internal-ip>{?internal_ip?}</node-internal-ip>
+               <!--
+               This node's TCP port
+               //-->
+               <node-tcp-port>{?node_tcp_listen_port?}</node-tcp-port>
+               <!--
+               This node's UDP port
+               //-->
+               <node-udp-port>{?node_udp_listen_port?}</node-udp-port>
+               <!--
+               This node's session id
+               //-->
+               <node-session-id>{?session_id?}</node-session-id>
+               <!--
+               This node's status
+               //-->
+               <node-status>{?node_status?}</node-status>
+       </node-data>
+       <!--
+       The following data is the other node's data. This data is being sent to
+       confirm that it has been received correctly.
+       //-->
+       <other-data>
+               <!--
+               Other node's external IP/hostname
+               //-->
+               <other-external-ip>{?other_external_ip?}</other-external-ip>
+               <!--
+               Other node's internal IP/hostname
+               //-->
+               <other-internal-ip>{?other_internal_ip?}</other-internal-ip>
+               <!--
+               Other node's session id
+               //-->
+               <other-session-id>{?other_session_id?}</other-session-id>
+       </other-data>
+       <!--
+       Status of this answer. This can be something like OKAY if all went fine or
+       any other error code.
+       //-->
+       <answer-status>{?answer_status?}</answer-status>
 </announcement-answer>