コード例 #1
0
        private SubscribedForwardDestination(string name, bool enabled, string ipAddress, int port, string password, DestinationPlatformType platform, int ttl)
            : base(name, enabled, ipAddress, port, password)
        {
            base.Platform = platform;
            this.available = true;
            this.ttl = ttl;
            base.AdditionalDisplayInfo = "subscribed";

            //this.Renew();
        }
コード例 #2
0
 public DetectedService(IResolvableService service, DestinationPlatformType platform)
 {
     this.service = service;
     this.platform = platform;
 }
コード例 #3
0
 private BonjourForwardDestination(string serviceName, DestinationPlatformType platform, bool enabled, string password)
     : this(serviceName, enabled, password)
 {
     this.Platform = platform;
 }
コード例 #4
0
 public object GetRealObject(StreamingContext context)
 {
     if (this.platform == null) this.platform = KnownDestinationPlatformType.Other;
     BonjourForwardDestination bfd = new BonjourForwardDestination(this.serviceName, this.platform, this.enabled, this.password);
     bfd.NotAvailable();
     return bfd;
 }
コード例 #5
0
 public BonjourEventArgs(DestinationPlatformType platform)
 {
     this.platform = platform;
 }
コード例 #6
0
 private SubscribedForwardDestination(string name, bool enabled, string ipAddress, int port, string password, DestinationPlatformType platform, int ttl, bool available)
     : this(name, enabled, ipAddress, port, password, platform, ttl)
 {
     // this is only used by the .Clone method to create an instance with no timer or key information
 }