Class SsdpDevicePublisherBase
Provides the platform independent logic for publishing SSDP devices (notifications and search responses).
Inherited Members
Namespace: Rssdp.Infrastructure
Assembly: cs.temp.dll.dll
Syntax
public abstract class SsdpDevicePublisherBase : DisposableManagedObjectBase, IDisposable, ISsdpDevicePublisher
Constructors
| Name | Description |
|---|---|
| SsdpDevicePublisherBase(ISsdpCommunicationsServer, String, String) | Default constructor. |
| SsdpDevicePublisherBase(ISsdpCommunicationsServer, String, String, ISsdpLogger) | Full constructor. |
Properties
| Name | Description |
|---|---|
| Devices | Returns a read only list of devices being published by this instance. |
| Log | Returns a reference to the injected ISsdpLogger instance. |
| NotificationBroadcastInterval | Sets or returns a fixed interval at which alive notifications for services exposed by this publisher instance are broadcast. |
| StandardsMode | Sets or returns a value from the SsdpStandardsMode controlling how strictly the publisher obeys the SSDP standard. |
| SupportPnpRootDevice | If true (default) treats root devices as both upnp:rootdevice and pnp:rootdevice types. |
Methods
| Name | Description |
|---|---|
| AddDevice(SsdpRootDevice) | Adds a device (and it's children) to the list of devices being published by this server, making them discoverable to SSDP clients. |
| Dispose(Boolean) | Stops listening for requests, stops sending periodic broadcasts, disposes all internal resources. |
| RemoveDevice(SsdpRootDevice) | Removes a device (and it's children) from the list of devices being published by this server, making them undiscoverable. |