Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

33 lines
852 B
C#
Executable File

using System;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.PeerResolvers;
using System.ServiceModel.Description;
namespace System.ServiceModel.PeerResolvers
{
[DataContract (Namespace = "http://mono-project.com/ns/2008/07/peer-resolver")]
class PeerServiceSettingsInfo
{
[DataMember]
public TimeSpan RefreshInterval { get; set; }
[DataMember]
public TimeSpan CleanupInterval { get; set; }
[DataMember]
public bool ControlMeshShape { get; set; }
}
[ServiceContract]
interface ICustomPeerResolverContract : IPeerResolverContract
{
[OperationContract]
PeerServiceSettingsInfo GetCustomServiceSettings ();
[OperationContract]
void SetCustomServiceSettings (PeerServiceSettingsInfo info);
}
interface ICustomPeerResolverClient : ICustomPeerResolverContract, IClientChannel
{
}
}