Author: abock
Date: 2007-08-21 16:38:53 -0400 (Tue, 21 Aug 2007)
New Revision: 84585
Removed:
trunk/Mono.Zeroconf/src/Assembly/
Modified:
trunk/Mono.Zeroconf/ChangeLog
trunk/Mono.Zeroconf/configure.ac
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers/IZeroconfProvider.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers/ZeroconfProviderAttribute.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IRegisterService.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IResolvableService.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IService.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IServiceBrowser.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ITxtRecord.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/RegisterService.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowseEventArgs.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowseEventHandler.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowser.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceResolvedEventArgs.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceResolvedEventHandler.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/TxtRecord.xml
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/TxtRecordItem.xml
trunk/Mono.Zeroconf/docs/en/index.xml
trunk/Mono.Zeroconf/src/MZClient/Makefile.am
trunk/Mono.Zeroconf/src/Mono.Zeroconf.Providers.Avahi/Makefile.am
trunk/Mono.Zeroconf/src/Mono.Zeroconf.Providers.Bonjour/Makefile.am
trunk/Mono.Zeroconf/src/Mono.Zeroconf/Makefile.am
trunk/Mono.Zeroconf/src/Mono.Zeroconf/Mono.Zeroconf.Providers/ZeroconfProviderAttribute.cs
Log:
2007-08-21 Aaron Bockover <[EMAIL PROTECTED]>
* Mono.Zeroconf: Tons of reorg, cleanup, etc. Mono.Zeroconf will soon
be released alongside Mono - preparing for this
* docs/: Initial work on filling in documentation
Modified: trunk/Mono.Zeroconf/ChangeLog
===================================================================
--- trunk/Mono.Zeroconf/ChangeLog 2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/ChangeLog 2007-08-21 20:38:53 UTC (rev 84585)
@@ -1,3 +1,10 @@
+2007-08-21 Aaron Bockover <[EMAIL PROTECTED]>
+
+ * Mono.Zeroconf: Tons of reorg, cleanup, etc. Mono.Zeroconf will soon
+ be released alongside Mono - preparing for this
+
+ * docs/: Initial work on filling in documentation
+
2006-11-28 Aaron Bockover <[EMAIL PROTECTED]>
* Mono.Zeroconf.Avahi/*: Initial Avahi implementation (no registration
yet)
Modified: trunk/Mono.Zeroconf/configure.ac
===================================================================
--- trunk/Mono.Zeroconf/configure.ac 2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/configure.ac 2007-08-21 20:38:53 UTC (rev 84585)
@@ -19,7 +19,6 @@
SHAMROCK_CHECK_MONO_2_0_GAC_ASSEMBLIES([
System
System.Web
- Mono.Posix
])
AC_ARG_ENABLE(avahi, AC_HELP_STRING([--disable-avahi],
@@ -40,6 +39,7 @@
Makefile
src/Makefile
src/mono-zeroconf.pc
+src/AssemblyInfo.cs
src/Mono.Zeroconf/Makefile
src/Mono.Zeroconf.Providers.Bonjour/Makefile
src/Mono.Zeroconf.Providers.Avahi/Makefile
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IRegisterService.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IRegisterService.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IRegisterService.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public interface IRegisterService :
Mono.Zeroconf.IService" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IResolvableService.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IResolvableService.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IResolvableService.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public interface IResolvableService :
Mono.Zeroconf.IService" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IService.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IService.xml 2007-08-21
20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IService.xml 2007-08-21
20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public interface IService" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IServiceBrowser.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IServiceBrowser.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/IServiceBrowser.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public interface IServiceBrowser :
System.IDisposable" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ITxtRecord.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ITxtRecord.xml 2007-08-21
20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ITxtRecord.xml 2007-08-21
20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public interface ITxtRecord :
System.Collections.IEnumerable, System.IDisposable" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/RegisterService.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/RegisterService.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/RegisterService.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public class RegisterService :
Mono.Zeroconf.IRegisterService" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowseEventArgs.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowseEventArgs.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowseEventArgs.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public class ServiceBrowseEventArgs :
System.EventArgs" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.EventArgs</BaseTypeName>
Modified:
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowseEventHandler.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowseEventHandler.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowseEventHandler.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public delegate void
ServiceBrowseEventHandler(object o, ServiceBrowseEventArgs args);" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowser.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowser.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceBrowser.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public class ServiceBrowser :
Mono.Zeroconf.IServiceBrowser" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceResolvedEventArgs.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceResolvedEventArgs.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceResolvedEventArgs.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public class ServiceResolvedEventArgs :
System.EventArgs" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.EventArgs</BaseTypeName>
Modified:
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceResolvedEventHandler.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceResolvedEventHandler.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/ServiceResolvedEventHandler.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public delegate void
ServiceResolvedEventHandler(object o, ServiceResolvedEventArgs args);" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/TxtRecord.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/TxtRecord.xml 2007-08-21
20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/TxtRecord.xml 2007-08-21
20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public class TxtRecord :
Mono.Zeroconf.ITxtRecord" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/TxtRecordItem.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/TxtRecordItem.xml 2007-08-21
20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf/TxtRecordItem.xml 2007-08-21
20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public class TxtRecordItem" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
Modified:
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers/IZeroconfProvider.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers/IZeroconfProvider.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers/IZeroconfProvider.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public interface IZeroconfProvider" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Members>
@@ -11,29 +11,58 @@
<MemberType>Method</MemberType>
<ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue>
<Parameters />
- <Docs><summary>To be added.</summary><remarks>To be
added.</remarks></Docs>
+ <Docs><summary>Method to perform any kind of subsystem initialization
and sanity check.</summary><remarks>This method is responsible for ensuring the
underlying Zeroconf subsystem is running. If the subsystem cannot be contacted,
this method should throw an exception. In the Bonjour implementation, this
method opens and closes a test connection to the mDNSResponder daemon to ensure
it is running.</remarks></Docs>
</Member>
<Member MemberName="RegisterService">
<MemberSignature Language="C#" Value="public System.Type RegisterService
{ get; };" />
<MemberType>Property</MemberType>
<ReturnValue><ReturnType>System.Type</ReturnType></ReturnValue>
- <Docs><summary>To be added.</summary><value>To be
added.</value><remarks>To be added.</remarks></Docs>
+ <Docs><summary>Type of provider's <see
cref="T:Mono.Zeroconf.IRegisterService" /></summary><value>A type which
implements <see cref="T:Mono.Zeroconf.IRegisterService" /></value><remarks>To
be added.</remarks></Docs>
</Member>
<Member MemberName="ServiceBrowser">
<MemberSignature Language="C#" Value="public System.Type ServiceBrowser
{ get; };" />
<MemberType>Property</MemberType>
<ReturnValue><ReturnType>System.Type</ReturnType></ReturnValue>
- <Docs><summary>To be added.</summary><value>To be
added.</value><remarks>To be added.</remarks></Docs>
+ <Docs><summary>Type of provider's <see
cref="T:Mono.Zeroconf.IServiceBrowser" /></summary><value>A type which
implements <see cref="T:Mono.Zeroconf.IServiceBrowser" /></value><remarks>To be
added.</remarks></Docs>
</Member>
<Member MemberName="TxtRecord">
<MemberSignature Language="C#" Value="public System.Type TxtRecord {
get; };" />
<MemberType>Property</MemberType>
<ReturnValue><ReturnType>System.Type</ReturnType></ReturnValue>
- <Docs><summary>To be added.</summary><value>To be
added.</value><remarks>To be added.</remarks></Docs>
+ <Docs><summary>Type of provider's <see cref="T:Mono.Zeroconf.ITxtRecord"
/></summary><value>A type which implements <see
cref="T:Mono.Zeroconf.ITxtRecord" /></value><remarks>To be
added.</remarks></Docs>
</Member>
</Members>
<Docs>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
+ <summary>The "entry point" interface for Zeroconf provider
assemblies.</summary>
+ <remarks>
+ <para>Example stub code for a Zeroconf provider. The provider would
implement the types <c>MyServiceBrowser</c>, <c>MyRegisterService</c>, and
<c>MyTxtRecord</c>, which must implement the respecitve interfaces in <see
cref="N:Mono.Zeroconf" />.</para>
+ <example>
+ <code lang="C#">
+using System;
+using Mono.Zeroconf.Providers
+
+[assembly:ZeroconfProvider(typeof(MyZeroconfProvider))]
+
+public class MyZeroconfProvider : IZeroconfProvider
+{
+ public void Initialize()
+ {
+ }
+
+ public Type ServiceBrowser {
+ get { return typeof(MyServiceBrowser); }
+ }
+
+ public Type RegisterService {
+ get { return typeof(MyRegisterService); }
+ }
+
+ public Type TxtRecord {
+ get { return typeof(MyTxtRecord); }
+ }
+}
+ </code>
+ </example>
+ </remarks>
</Docs>
</Type>
Modified:
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers/ZeroconfProviderAttribute.xml
===================================================================
---
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers/ZeroconfProviderAttribute.xml
2007-08-21 20:11:07 UTC (rev 84584)
+++
trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers/ZeroconfProviderAttribute.xml
2007-08-21 20:38:53 UTC (rev 84585)
@@ -2,7 +2,7 @@
<TypeSignature Language="C#" Value="public class ZeroconfProviderAttribute :
System.Attribute" />
<AssemblyInfo>
<AssemblyName>Mono.Zeroconf</AssemblyName>
- <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ <AssemblyVersion>0.8.1.30538</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
@@ -13,17 +13,34 @@
<MemberSignature Language="C#" Value="public ZeroconfProviderAttribute
(System.Type providerType);" />
<MemberType>Constructor</MemberType>
<Parameters><Parameter Name="providerType" Type="System.Type"
/></Parameters>
- <Docs><param name="providerType">To be added.</param><summary>To be
added.</summary><remarks>To be added.</remarks></Docs>
+ <Docs><param name="providerType">Type of the provider bound to the
assembly</param><summary>This type must implement <see
cref="T:Mono.Zeroconf.Proviers.IZeroconfService" />.</summary><remarks>To be
added.</remarks></Docs>
</Member>
<Member MemberName="ProviderType">
<MemberSignature Language="C#" Value="public System.Type ProviderType {
get; };" />
<MemberType>Property</MemberType>
<ReturnValue><ReturnType>System.Type</ReturnType></ReturnValue>
- <Docs><summary>To be added.</summary><value>To be
added.</value><remarks>To be added.</remarks></Docs>
+ <Docs><summary>Type of the provider bound to the
assembly</summary><value>Value passed to the constructor.</value><remarks>This
property is only used by the internal Mono.Zeroconf factory that loads Zeroconf
providers.</remarks></Docs>
</Member>
</Members>
<Docs>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
+ <summary>Assembly level attribute required for Zeroconf provider
assemblies</summary>
+ <remarks>
+ <para>Assemblies implementing a Zeroconf provider (by way of <see
cref="T:Mono.Zeroconf.Providers.IZeroconfProvider" />) must apply this
attribute to the assembly.</para>
+ <example>
+ <code lang="C#">
+using System;
+using Mono.Zeroconf.Providers;
+
+[assembly:ZeroconfProvider(typeof(MyZeroconfProvider))]
+
+...
+ </code>
+ </example>
+ </remarks>
</Docs>
+ <Attributes>
+ <Attribute>
+
<AttributeName>System.AttributeUsage(System.AttributeTargets.Assembly)</AttributeName>
+ </Attribute>
+ </Attributes>
</Type>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers.xml 2007-08-21
20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.Providers.xml 2007-08-21
20:38:53 UTC (rev 84585)
@@ -1,6 +1,9 @@
<Namespace Name="Mono.Zeroconf.Providers">
<Docs>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
+ <summary>API for implementing new Zeroconf/mDNS providers, such as Bonjour
and Avahi.</summary>
+ <remarks>
+ <para>Zeroconf providers for Mono.Zeroconf are written as plugins.
Provider assemblies are loaded at runtime by Mono.Zeroconf.</para>
+ <para>Each provider must implement a plugin "entry point" by
implementing <see cref="T:Mono.Zeroconf.Providers.IZeroconfProvider" />,
providing classes that implement interfaces from <see cref="N:Mono.Zeroconf"
/>, and applying the assembly level attribute, <see
cref="T:Mono.Zeroconf.Providers.ZeroconfProviderAttribute" /> to the provider
assembly.</para>
+ </remarks>
</Docs>
</Namespace>
Modified: trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.xml 2007-08-21 20:11:07 UTC
(rev 84584)
+++ trunk/Mono.Zeroconf/docs/en/Mono.Zeroconf.xml 2007-08-21 20:38:53 UTC
(rev 84585)
@@ -1,6 +1,6 @@
<Namespace Name="Mono.Zeroconf">
<Docs>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
+ <summary>User level API for browsing and publishing mDNS records.</summary>
+ <remarks>None.</remarks>
</Docs>
</Namespace>
Modified: trunk/Mono.Zeroconf/docs/en/index.xml
===================================================================
--- trunk/Mono.Zeroconf/docs/en/index.xml 2007-08-21 20:11:07 UTC (rev
84584)
+++ trunk/Mono.Zeroconf/docs/en/index.xml 2007-08-21 20:38:53 UTC (rev
84585)
@@ -1,15 +1,27 @@
<Overview>
<Assemblies>
- <Assembly Name="Mono.Zeroconf" Version="0.0.0.0">
+ <Assembly Name="Mono.Zeroconf" Version="0.8.1.30538">
<Attributes>
<Attribute>
<AttributeName>System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)</AttributeName>
</Attribute>
+ <Attribute>
+ <AttributeName>System.Reflection.AssemblyCompany("Novell,
Inc")</AttributeName>
+ </Attribute>
+ <Attribute>
+ <AttributeName>System.Reflection.AssemblyCopyright("Copyright (C)
2006-2007 Novell, Inc.")</AttributeName>
+ </Attribute>
+ <Attribute>
+ <AttributeName>System.Reflection.AssemblyDescription("Cross Platform
Zeroconf for .NET")</AttributeName>
+ </Attribute>
+ <Attribute>
+
<AttributeName>System.Reflection.AssemblyTitle("Mono.Zeroconf")</AttributeName>
+ </Attribute>
</Attributes>
</Assembly>
</Assemblies>
- <Remarks>To be added.</Remarks>
- <Copyright>To be added.</Copyright>
+ <Remarks>Cross Platform Zeroconf for .NET.</Remarks>
+ <Copyright>Copyright (C) 2006-2007 Novell, Inc.</Copyright>
<Types>
<Namespace Name="Mono.Zeroconf">
<Type Name="IRegisterService" />
Modified: trunk/Mono.Zeroconf/src/MZClient/Makefile.am
===================================================================
--- trunk/Mono.Zeroconf/src/MZClient/Makefile.am 2007-08-21 20:11:07 UTC
(rev 84584)
+++ trunk/Mono.Zeroconf/src/MZClient/Makefile.am 2007-08-21 20:38:53 UTC
(rev 84585)
@@ -7,7 +7,9 @@
wrapperdir = $(bindir)
wrapper_SCRIPTS = mzclient
-SOURCES = $(srcdir)/ZeroconfClient.cs
+SOURCES = \
+ $(top_srcdir)/src/AssemblyInfo.cs \
+ $(srcdir)/ZeroconfClient.cs
all: $(ASSEMBLY)
Modified: trunk/Mono.Zeroconf/src/Mono.Zeroconf/Makefile.am
===================================================================
--- trunk/Mono.Zeroconf/src/Mono.Zeroconf/Makefile.am 2007-08-21 20:11:07 UTC
(rev 84584)
+++ trunk/Mono.Zeroconf/src/Mono.Zeroconf/Makefile.am 2007-08-21 20:38:53 UTC
(rev 84585)
@@ -28,7 +28,9 @@
$(MONO_ZEROCONF_SRC) \
$(MONO_ZEROCONF_PROVIDERS_SRC)
-SOURCES = $(foreach source,$(SOURCES_PRE),$(srcdir)/$(source))
+SOURCES = \
+ $(top_srcdir)/src/AssemblyInfo.cs \
+ $(foreach source,$(SOURCES_PRE),$(srcdir)/$(source))
all: $(ASSEMBLY)
Modified:
trunk/Mono.Zeroconf/src/Mono.Zeroconf/Mono.Zeroconf.Providers/ZeroconfProviderAttribute.cs
===================================================================
---
trunk/Mono.Zeroconf/src/Mono.Zeroconf/Mono.Zeroconf.Providers/ZeroconfProviderAttribute.cs
2007-08-21 20:11:07 UTC (rev 84584)
+++
trunk/Mono.Zeroconf/src/Mono.Zeroconf/Mono.Zeroconf.Providers/ZeroconfProviderAttribute.cs
2007-08-21 20:38:53 UTC (rev 84585)
@@ -30,6 +30,7 @@
namespace Mono.Zeroconf.Providers
{
+ [AttributeUsage(AttributeTargets.Assembly)]
public class ZeroconfProviderAttribute : Attribute
{
private Type provider_type;
Modified: trunk/Mono.Zeroconf/src/Mono.Zeroconf.Providers.Avahi/Makefile.am
===================================================================
--- trunk/Mono.Zeroconf/src/Mono.Zeroconf.Providers.Avahi/Makefile.am
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/src/Mono.Zeroconf.Providers.Avahi/Makefile.am
2007-08-21 20:38:53 UTC (rev 84585)
@@ -11,7 +11,9 @@
SOURCES_PRE = \
$(MONO_ZEROCONF_PROVIDERS_AVAHI_SRC)
-SOURCES = $(foreach source,$(SOURCES_PRE),$(srcdir)/$(source))
+SOURCES = \
+ $(top_srcdir)/src/AssemblyInfo.cs \
+ $(foreach source,$(SOURCES_PRE),$(srcdir)/$(source))
if BUILD_AVAHI
Modified: trunk/Mono.Zeroconf/src/Mono.Zeroconf.Providers.Bonjour/Makefile.am
===================================================================
--- trunk/Mono.Zeroconf/src/Mono.Zeroconf.Providers.Bonjour/Makefile.am
2007-08-21 20:11:07 UTC (rev 84584)
+++ trunk/Mono.Zeroconf/src/Mono.Zeroconf.Providers.Bonjour/Makefile.am
2007-08-21 20:38:53 UTC (rev 84585)
@@ -19,7 +19,9 @@
SOURCES_PRE = \
$(foreach
source,$(MONO_ZEROCONF_PROVIDERS_BONJOUR_SRC),Mono.Zeroconf.Providers.Bonjour/$(source))
-SOURCES = $(foreach source,$(SOURCES_PRE),$(srcdir)/$(source))
+SOURCES = \
+ $(top_srcdir)/src/AssemblyInfo.cs \
+ $(foreach source,$(SOURCES_PRE),$(srcdir)/$(source))
assemblydir = $(libdir)/mono-zeroconf
assembly_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb $(ASSEMBLY).config
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches