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>


你可能感兴趣的:(Adapter,worklight)