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(); }
public DetectedService(IResolvableService service, DestinationPlatformType platform) { this.service = service; this.platform = platform; }
private BonjourForwardDestination(string serviceName, DestinationPlatformType platform, bool enabled, string password) : this(serviceName, enabled, password) { this.Platform = platform; }
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; }
public BonjourEventArgs(DestinationPlatformType platform) { this.platform = platform; }
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 }