the broadcast xml project

April 2002

upon process startup

Load all the .xml files in the xmlobjects directory. When a new message or other type is created, just drop a new file into this directory.

object type

<type> DisplayMessage </type> BR <html> I am the <b>html</b> the client should display on the screen. </html> BR <url> http://client.IP/path.to.same.message </url> BR The client response upon reception of this message is to render the html and display it.

object type

<type> HostAnnouncement </type> BR <name> Pioneer Sq </name> BR <IP> 10.11.12.1 </IP> BR <url> http://10.11.12.1:5280/status </url> BR <essid> www.personaltelco.net </essid> BR The client response is to put up an icon representing this host.

object type

<type> UserAnnouncement </type> BR <ircchannel> irc://irc.openprojects.net/#wireless </ircchannel> BR <ircnick> zerocool </ircnick> BR <email> bob@megacorp.us </email> BR <url> http://user.home/page </url> BR <icon> BINARY IMAGE DATA </icon> BR The client response is to put up an icon representing the user.

Im not sure how much data i can put into one UDP packet. There is no notion of a stream. maybe I can mark the data with <bxml_message> and if you havent received a </bxml_message>, then keep appending the subsequent packets to the message.

look into Jabber message types. there is possibly a lot of overlap here.

Want to play with broadcast packets and java? Get this file http://klickitat.yi.org/~donp/bxml/shell.jar. Run it with 'java -jar shell.jar'. You have one command: speak [message]. This will transmit a UDP packet to address 255.255.255.255, port 2009. Its it funny how broadcast packets still have port numbers. Any other computer in the same collision domain that is also running shell.jar will pickup on this packet and print to the screen.


[CategoryDocumentation] [http://www.zy-image.com ÉãӰѧУ] [http://www.ltjz2000.com/beijingsijiazhentan.htm ±±¾©Ë½¼ÒÕì̽] [http://www.timead.net/zgjs.html Õ­¸æ] [http://www.etoo.cn/jianruishiyou ¼âÈñʪðà] [http://www.etoo.cn/jlb ¼ÆÁ¿±Ã] [http://www.etoo.cn/yiliao/nwgd.htm ÄÚÍâ¹Ì¶¨] [http://www.etoo.cn/yiliao/jkhc.htm ½ø¿ÚºÄ²Ä] [http://www.etoo.cn/yiliao/gkhc.htm ¹Ç¿ÆºÄ²Ä] [http://www.etoo.cn/yiliao/gkqc.htm ¹Ç¿ÆÆ÷²Ä] [http://www.etoo.cn/yiliao/ylqx.htm Ò½ÁÆÆ÷е] [http://www.etoo.cn/yiliao/ylqc.htm Ò½ÁÆÆ÷²Ä] [http://www.16safe.com/qiche/anquan.htm ÂÖÌ¥°²È«] [http://www.16safe.com/qiche/znjc.htm ÖÇÄܼà²â] [http://www.16safe.com/qiche/luntai.htm ÂÖÌ¥·À±¬] [http://www.16safe.com/qiche/qiche.htm Æû³µÂÖÌ¥] [http://www.ltjz2000.com/zhentan.htm 私人侦探] [http://www.ltjz2000.com/sj.htm 私家侦探] [http://www.ltjz2000.com/xunren.htm 寻人] [http://www.ltjz2000.com/hydc.htm 婚姻调查] [http://www.ltjz2000.com/dc.htm 调查] [http://www.ltjz2000.com/zhentan.htm 侦探] [http://www.ltjz2000.com/sj.htm 北京私家侦探] [http://www.ltjz2000.com/dc.htm 调查公司] [http://www.etoo.cn/zhaigao 窄告] [http://www.etoo.cn/sports 健身器材] [http://www.etoo.cn/sports 健康器材] [http://www.etoo.cn/sports 体育器材] [http://www.etoo.cn/stadium 场馆设备] [http://www.etoo.cn/stadium 跑步机] [http://www.etoo.cn/21win-win 拓展训练] [http://www.wjmgy.com 脉管炎] [http://www.wjmgy.com/1 脉管炎]