Class ScalingPacketQueueHandler<T>
Inheritance
ScalingPacketQueueHandler<T>
Assembly: SlipeServer.Server.dll
Syntax
public class ScalingPacketQueueHandler<T> : BasePacketQueueHandler<T>, IPacketQueueHandler<T>, IPacketQueueHandlerBase, IDisposable where T : Packet
Type Parameters
Constructors
|
Edit this page
View Source
ScalingPacketQueueHandler(ILogger, IPacketHandler<T>)
Declaration
public ScalingPacketQueueHandler(ILogger logger, IPacketHandler<T> packetHandler)
Parameters
|
Edit this page
View Source
ScalingPacketQueueHandler(ILogger, IPacketHandler<T>, QueueHandlerScalingConfig?, int)
Declaration
public ScalingPacketQueueHandler(ILogger logger, IPacketHandler<T> packetHandler, QueueHandlerScalingConfig? config = null, int sleepTime = 10)
Parameters
Fields
|
Edit this page
View Source
pulseTaskCompletionSource
Declaration
protected TaskCompletionSource<int>? pulseTaskCompletionSource
Field Value
Methods
|
Edit this page
View Source
CheckWorkerCount()
Declaration
public void CheckWorkerCount()
|
Edit this page
View Source
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()
Overrides
|
Edit this page
View Source
GetPulseTask()
Declaration
public Task GetPulseTask()
Returns
Implements