Class E131UpdateQueue
Represents a generic UpdateQueue<TIdentifier, TData> using an object as the key and a color as the value.
Inherited Members
Namespace: RGB.NET.Devices.DMX.E131
Assembly: RGB.NET.Devices.DMX.dll
Syntax
public sealed class E131UpdateQueue : UpdateQueue, IUpdateQueue, IUpdateQueue<object, Color>, IReferenceCounting, IDisposable
Constructors
| Edit this page View SourceE131UpdateQueue(IDeviceUpdateTrigger, string, int)
Initializes a new instance of the E131UpdateQueue class.
Declaration
public E131UpdateQueue(IDeviceUpdateTrigger updateTrigger, string hostname, int port)
Parameters
Type | Name | Description |
---|---|---|
IDeviceUpdateTrigger | updateTrigger | The update trigger used by this queue. |
string | hostname | The hostname of the device this queue is performing updates for. |
int | port | The port to connect to the device this queue is performing updates for. |
Methods
| Edit this page View SourceOnUpdate(object?, CustomUpdateData)
Event handler for the Update-event.
Declaration
protected override void OnUpdate(object? sender, CustomUpdateData customData)
Parameters
Type | Name | Description |
---|---|---|
object | sender | The IUpdateTrigger causing this update. |
CustomUpdateData | customData | CustomUpdateData provided by the trigger. |
Overrides
| Edit this page View SourceUpdate(in ReadOnlySpan<(object key, Color color)>)
Performs the update this queue is responsible for.
Declaration
protected override bool Update(in ReadOnlySpan<(object key, Color color)> dataSet)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<(object key, Color color)> | dataSet | The set of data that needs to be updated. |
Returns
Type | Description |
---|---|
bool |