a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
33 lines
852 B
C#
Executable File
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
|
|
{
|
|
}
|
|
}
|