首页 > 代码库 > WorkLIght Adapter的创建

WorkLIght Adapter的创建

<wl:adapter name="WorklightStarterAdapter">
  <displayName>WorkLight Starter Adapter</displayName><!-- 用来显示在Console -->
  <description>Retrieves Engadget RSS feeds</description><!-- 用来显示在Console -->
  <connectivity>
    <connectionPolicy xsi:type="http:HTTPConnectionPolicyType">
      <protocol>http</protocol>
       <domain>www.engadget.com</domain>
      <port>80</port>
    </connectionPolicy>
    <loadConstraints maxConcurrentConnectionsPerNode="2"/>
  </connectivity>
  <procedure name="getEngadgetFeeds"/>
</wl:adapter>


本文出自 “我的点点滴滴” 博客,请务必保留此出处http://andylhx.blog.51cto.com/8891164/1408039