diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-02-05 15:47:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-05 15:47:02 -0500 |
| commit | a10d94b747b0a0151597cff7ab5fecce8a0b4e81 (patch) | |
| tree | bf36f4f69554106b5cfa8a2499fb80d4a4f27e05 /RSSDP/ISsdpCommunicationsServer.cs | |
| parent | c857b1cb2ce9138e3c52af330ab8a97c048b5533 (diff) | |
| parent | d218dbd2a1f6d70d3714d84bebc2fb00020151c1 (diff) | |
Merge pull request #2441 from MediaBrowser/dev
Dev
Diffstat (limited to 'RSSDP/ISsdpCommunicationsServer.cs')
| -rw-r--r-- | RSSDP/ISsdpCommunicationsServer.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/RSSDP/ISsdpCommunicationsServer.cs b/RSSDP/ISsdpCommunicationsServer.cs index eea5e0ed6..0e47974e2 100644 --- a/RSSDP/ISsdpCommunicationsServer.cs +++ b/RSSDP/ISsdpCommunicationsServer.cs @@ -1,4 +1,5 @@ using System; +using System.Threading; using System.Threading.Tasks; using MediaBrowser.Model.Net; @@ -44,15 +45,12 @@ namespace Rssdp.Infrastructure /// <summary> /// Sends a message to a particular address (uni or multicast) and port. /// </summary> - /// <param name="messageData">A byte array containing the data to send.</param> - /// <param name="destination">A <see cref="IpEndPointInfo"/> representing the destination address for the data. Can be either a multicast or unicast destination.</param> - /// <param name="fromLocalIpAddress">A <see cref="IpEndPointInfo"/> The local ip address to send from, or .Any if sending from all available</param> - Task SendMessage(byte[] messageData, IpEndPointInfo destination, IpAddressInfo fromLocalIpAddress); + Task SendMessage(byte[] messageData, IpEndPointInfo destination, IpAddressInfo fromLocalIpAddress, CancellationToken cancellationToken); /// <summary> /// Sends a message to the SSDP multicast address and port. /// </summary> - Task SendMulticastMessage(string message); + Task SendMulticastMessage(string message, CancellationToken cancellationToken); #endregion |
