ware通信协议

前言

历时两年多的苦苦思索, 终于换来了:那道一闪而过的灵光---ware通信协议. (灵感来地总是让人欣喜若狂)

 

ware通信协议

 

ware通信协议格式分为4类

 

  • request
  • response
  • plan
  • report

request
 
<?xml version="1.0" encoding="uft-8"?>

<ware from="host:port:scene" to="host:port:scene">
        <request> <![CDATA[  (XML DATA) ]]></request>
</ware>
 

respone

 

 
<?xml version="1.0" encoding="uft-8"?>

<ware from="host:port:scene" to="host:port:scene">
        <respone> <![CDATA[  (XML DATA) ]]></respone>
</ware>

 

 

plan

 

<?xml version="1.0" encoding="uft-8"?>

<ware from="host:port:scene" to="host:port:scene">
        <plan> <![CDATA[  (XML DATA) ]]></plan>
</ware>
 

 

report

 

<?xml version="1.0" encoding="uft-8"?>

<ware from="host:port:scene" to="host:port:scene">
        <report> <![CDATA[  (XML DATA) ]]></report>
</ware>
 
 

猜你喜欢

转载自pipe-line.iteye.com/blog/739711