IPeerResolverContract.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="IPeerResolverContract" FullName="System.ServiceModel.PeerResolvers.IPeerResolverContract">
  3. <TypeSignature Language="C#" Value="public interface IPeerResolverContract" />
  4. <TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IPeerResolverContract" />
  5. <AssemblyInfo>
  6. <AssemblyName>System.ServiceModel</AssemblyName>
  7. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  8. </AssemblyInfo>
  9. <Interfaces />
  10. <Attributes>
  11. <Attribute>
  12. <AttributeName>System.ServiceModel.ServiceContract(Name="IPeerResolverContract", Namespace="http://schemas.microsoft.com/net/2006/05/peer/resolver", SessionMode=System.ServiceModel.SessionMode.Allowed)</AttributeName>
  13. </Attribute>
  14. </Attributes>
  15. <Docs>
  16. <remarks>
  17. <attribution license="cc4" from="Microsoft" modified="false" />
  18. <para>Implementors of custom peer resolver services should consider deriving from the base <see cref="T:System.ServiceModel.PeerResolvers.CustomPeerResolverService" /></para>
  19. <para>type and overriding the virtual methods defined on it.</para>
  20. </remarks>
  21. <summary>
  22. <attribution license="cc4" from="Microsoft" modified="false" />
  23. <para>Defines a contract for the basic operations of a peer resolver service.</para>
  24. </summary>
  25. </Docs>
  26. <Members>
  27. <Member MemberName="GetServiceSettings">
  28. <MemberSignature Language="C#" Value="public System.ServiceModel.PeerResolvers.ServiceSettingsResponseInfo GetServiceSettings ();" />
  29. <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.ServiceModel.PeerResolvers.ServiceSettingsResponseInfo GetServiceSettings() cil managed" />
  30. <MemberType>Method</MemberType>
  31. <AssemblyInfo>
  32. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  33. </AssemblyInfo>
  34. <Attributes>
  35. <Attribute>
  36. <AttributeName>System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/GetServiceSettings", IsOneWay=false, Name="GetServiceInfo", ReplyAction="http://schemas.microsoft.com/net/2006/05/peer/resolver/GetServiceSettingsResponse")</AttributeName>
  37. </Attribute>
  38. </Attributes>
  39. <ReturnValue>
  40. <ReturnType>System.ServiceModel.PeerResolvers.ServiceSettingsResponseInfo</ReturnType>
  41. </ReturnValue>
  42. <Parameters />
  43. <Docs>
  44. <remarks>To be added.</remarks>
  45. <summary>
  46. <attribution license="cc4" from="Microsoft" modified="false" />
  47. <para>Obtains the settings for a peer resolver service.</para>
  48. </summary>
  49. <returns>
  50. <attribution license="cc4" from="Microsoft" modified="false" />
  51. <para>
  52. <see cref="T:System.ServiceModel.PeerResolvers.ServiceSettingsResponseInfo" /> that contains information about the peer resolver service.</para>
  53. </returns>
  54. </Docs>
  55. </Member>
  56. <Member MemberName="Refresh">
  57. <MemberSignature Language="C#" Value="public System.ServiceModel.PeerResolvers.RefreshResponseInfo Refresh (System.ServiceModel.PeerResolvers.RefreshInfo refreshInfo);" />
  58. <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.ServiceModel.PeerResolvers.RefreshResponseInfo Refresh(class System.ServiceModel.PeerResolvers.RefreshInfo refreshInfo) cil managed" />
  59. <MemberType>Method</MemberType>
  60. <AssemblyInfo>
  61. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  62. </AssemblyInfo>
  63. <Attributes>
  64. <Attribute>
  65. <AttributeName>System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Refresh", IsOneWay=false, Name="Refresh", ReplyAction="http://schemas.microsoft.com/net/2006/05/peer/resolver/RefreshResponse")</AttributeName>
  66. </Attribute>
  67. </Attributes>
  68. <ReturnValue>
  69. <ReturnType>System.ServiceModel.PeerResolvers.RefreshResponseInfo</ReturnType>
  70. </ReturnValue>
  71. <Parameters>
  72. <Parameter Name="refreshInfo" Type="System.ServiceModel.PeerResolvers.RefreshInfo" />
  73. </Parameters>
  74. <Docs>
  75. <remarks>
  76. <attribution license="cc4" from="Microsoft" modified="false" />
  77. <para>A "refresh" of an entry is implemented by updating the supplied entry's expiry timestamp. All information used to uniquely identify the entry must be supplied in the <see cref="T:System.ServiceModel.PeerResolvers.RefreshInfo" /> object supplied to this method.</para>
  78. </remarks>
  79. <summary>
  80. <attribution license="cc4" from="Microsoft" modified="false" />
  81. <para>Refreshes the expiry for an entry in the peer resolver service's registration lookup table.</para>
  82. </summary>
  83. <returns>
  84. <attribution license="cc4" from="Microsoft" modified="false" />
  85. <para>
  86. <see cref="T:System.ServiceModel.PeerResolvers.RefreshResponseInfo" /> that contains the newly refreshed registration entry.</para>
  87. </returns>
  88. <param name="refreshInfo">
  89. <attribution license="cc4" from="Microsoft" modified="false" />
  90. <see cref="T:System.ServiceModel.PeerResolvers.RefreshInfo" /> object that contains the mesh ID and the registration ID of the entry to refresh in the peer resolver service's registration lookup table.</param>
  91. </Docs>
  92. </Member>
  93. <Member MemberName="Register">
  94. <MemberSignature Language="C#" Value="public System.ServiceModel.PeerResolvers.RegisterResponseInfo Register (System.ServiceModel.PeerResolvers.RegisterInfo registerInfo);" />
  95. <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.ServiceModel.PeerResolvers.RegisterResponseInfo Register(class System.ServiceModel.PeerResolvers.RegisterInfo registerInfo) cil managed" />
  96. <MemberType>Method</MemberType>
  97. <AssemblyInfo>
  98. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  99. </AssemblyInfo>
  100. <Attributes>
  101. <Attribute>
  102. <AttributeName>System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Register", IsOneWay=false, Name="Register", ReplyAction="http://schemas.microsoft.com/net/2006/05/peer/resolver/RegisterResponse")</AttributeName>
  103. </Attribute>
  104. </Attributes>
  105. <ReturnValue>
  106. <ReturnType>System.ServiceModel.PeerResolvers.RegisterResponseInfo</ReturnType>
  107. </ReturnValue>
  108. <Parameters>
  109. <Parameter Name="registerInfo" Type="System.ServiceModel.PeerResolvers.RegisterInfo" />
  110. </Parameters>
  111. <Docs>
  112. <remarks>
  113. <attribution license="cc4" from="Microsoft" modified="false" />
  114. <para>This method is used to add a peer node's registration information to the lookup table used by the peer resolver service.</para>
  115. </remarks>
  116. <summary>
  117. <attribution license="cc4" from="Microsoft" modified="false" />
  118. <para>Registers a peer node with the custom peer resolver service.</para>
  119. </summary>
  120. <returns>
  121. <attribution license="cc4" from="Microsoft" modified="false" />
  122. <para>
  123. <see cref="T:System.ServiceModel.PeerResolvers.RegisterResponseInfo" /> that contains a copy of the entry added to the peer resolver service's registration lookup table.</para>
  124. </returns>
  125. <param name="registerInfo">
  126. <attribution license="cc4" from="Microsoft" modified="false" />
  127. <see cref="T:System.ServiceModel.PeerResolvers.RegisterInfo" /> that contains information about the peer node to register with the peer resolver service.</param>
  128. </Docs>
  129. </Member>
  130. <Member MemberName="Resolve">
  131. <MemberSignature Language="C#" Value="public System.ServiceModel.PeerResolvers.ResolveResponseInfo Resolve (System.ServiceModel.PeerResolvers.ResolveInfo resolveInfo);" />
  132. <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.ServiceModel.PeerResolvers.ResolveResponseInfo Resolve(class System.ServiceModel.PeerResolvers.ResolveInfo resolveInfo) cil managed" />
  133. <MemberType>Method</MemberType>
  134. <AssemblyInfo>
  135. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  136. </AssemblyInfo>
  137. <Attributes>
  138. <Attribute>
  139. <AttributeName>System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Resolve", IsOneWay=false, Name="Resolve", ReplyAction="http://schemas.microsoft.com/net/2006/05/peer/resolver/ResolveResponse")</AttributeName>
  140. </Attribute>
  141. </Attributes>
  142. <ReturnValue>
  143. <ReturnType>System.ServiceModel.PeerResolvers.ResolveResponseInfo</ReturnType>
  144. </ReturnValue>
  145. <Parameters>
  146. <Parameter Name="resolveInfo" Type="System.ServiceModel.PeerResolvers.ResolveInfo" />
  147. </Parameters>
  148. <Docs>
  149. <remarks>To be added.</remarks>
  150. <summary>
  151. <attribution license="cc4" from="Microsoft" modified="false" />
  152. <para>Returns a list of known endpoints for a registration entry.</para>
  153. </summary>
  154. <returns>
  155. <attribution license="cc4" from="Microsoft" modified="false" />
  156. <para>
  157. <see cref="T:System.ServiceModel.PeerResolvers.ResolveResponseInfo" /> that contains the endpoints for the registration entry in the lookup table that matches the information supplied in the <paramref name="resolveInfo" /> parameter. </para>
  158. </returns>
  159. <param name="resolveInfo">
  160. <attribution license="cc4" from="Microsoft" modified="false" />
  161. <see cref="T:System.ServiceModel.PeerResolvers.ResolveInfo" /> that contains information on the peer node for which endpoints, if known, are to be looked up by the peer resolver service.</param>
  162. </Docs>
  163. </Member>
  164. <Member MemberName="Unregister">
  165. <MemberSignature Language="C#" Value="public void Unregister (System.ServiceModel.PeerResolvers.UnregisterInfo unregisterInfo);" />
  166. <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Unregister(class System.ServiceModel.PeerResolvers.UnregisterInfo unregisterInfo) cil managed" />
  167. <MemberType>Method</MemberType>
  168. <AssemblyInfo>
  169. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  170. </AssemblyInfo>
  171. <Attributes>
  172. <Attribute>
  173. <AttributeName>System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Unregister", IsOneWay=false, Name="Unregister")</AttributeName>
  174. </Attribute>
  175. </Attributes>
  176. <ReturnValue>
  177. <ReturnType>System.Void</ReturnType>
  178. </ReturnValue>
  179. <Parameters>
  180. <Parameter Name="unregisterInfo" Type="System.ServiceModel.PeerResolvers.UnregisterInfo" />
  181. </Parameters>
  182. <Docs>
  183. <remarks>
  184. <attribution license="cc4" from="Microsoft" modified="false" />
  185. <para>No value is returned by this operation.</para>
  186. </remarks>
  187. <summary>
  188. <attribution license="cc4" from="Microsoft" modified="false" />
  189. <para>Removes a registration from the lookup table for a peer resolver service.</para>
  190. </summary>
  191. <param name="unregisterInfo">
  192. <attribution license="cc4" from="Microsoft" modified="false" />
  193. <see cref="T:System.ServiceModel.PeerResolvers.UnregisterInfo" /> that contains the information used to uniquely identify the peer node to remove from the registration lookup table.</param>
  194. </Docs>
  195. </Member>
  196. <Member MemberName="Update">
  197. <MemberSignature Language="C#" Value="public System.ServiceModel.PeerResolvers.RegisterResponseInfo Update (System.ServiceModel.PeerResolvers.UpdateInfo updateInfo);" />
  198. <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.ServiceModel.PeerResolvers.RegisterResponseInfo Update(class System.ServiceModel.PeerResolvers.UpdateInfo updateInfo) cil managed" />
  199. <MemberType>Method</MemberType>
  200. <AssemblyInfo>
  201. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  202. </AssemblyInfo>
  203. <Attributes>
  204. <Attribute>
  205. <AttributeName>System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/net/2006/05/peer/resolver/Update", IsOneWay=false, Name="Update", ReplyAction="http://schemas.microsoft.com/net/2006/05/peer/resolver/UpdateResponse")</AttributeName>
  206. </Attribute>
  207. </Attributes>
  208. <ReturnValue>
  209. <ReturnType>System.ServiceModel.PeerResolvers.RegisterResponseInfo</ReturnType>
  210. </ReturnValue>
  211. <Parameters>
  212. <Parameter Name="updateInfo" Type="System.ServiceModel.PeerResolvers.UpdateInfo" />
  213. </Parameters>
  214. <Docs>
  215. <remarks>To be added.</remarks>
  216. <summary>
  217. <attribution license="cc4" from="Microsoft" modified="false" />
  218. <para>Updates the entry for a specific peer node in the peer resolver service's lookup table.</para>
  219. </summary>
  220. <returns>
  221. <attribution license="cc4" from="Microsoft" modified="false" />
  222. <para>
  223. <see cref="T:System.ServiceModel.PeerResolvers.UpdateInfo" /> that contains a copy of the updated peer node entry.</para>
  224. </returns>
  225. <param name="updateInfo">
  226. <attribution license="cc4" from="Microsoft" modified="false" />
  227. <see cref="T:System.ServiceModel.PeerResolvers.UpdateInfo" /> that uniquely identifies a specific peer node entry and provides updated information for it.</param>
  228. </Docs>
  229. </Member>
  230. </Members>
  231. </Type>