Table of Contents

Class QueueState

Namespace
Inetlab.SMPP.Common
Assembly
Inetlab.SMPP.dll

Represents state for receive and send queues

[Obsolete("Use SmppClientMetrics class.")]
public class QueueState
Inheritance
QueueState
Inherited Members

Constructors

QueueState(int, int, int, int)

public QueueState(int sendCount, int receiveCount, int receiveWorkersCount, int incompleteRequests)

Parameters

sendCount int
receiveCount int
receiveWorkersCount int
incompleteRequests int

Properties

IncompleteRequests

Gets number of request that didn't receive their response.

[Obsolete("Use SmppClientBase.Metrics.Sent.Requests.WaitingForResponse")]
public int IncompleteRequests { get; }

Property Value

int

ReceiveCount

Gets number of PDUs that stay in the receive queue and wait for being processed with application event handlers.

[Obsolete("Use SmppClientBase.Metrics.Received.InQueue")]
public int ReceiveCount { get; set; }

Property Value

int

ReceiveWorkersCount

Gets a number of worker threads that process PDUs from receive queue and invoke event handlers in the application

public int ReceiveWorkersCount { get; set; }

Property Value

int

SendCount

Gets number of PDUs that stay in the send queue before sending to network

[Obsolete("Use SmppClientBase.Metrics.Sent.InQueue")]
public int SendCount { get; set; }

Property Value

int

SendWorkersCount

Gets number of worker threads that send PDUs to remote side. Always 1.

public int SendWorkersCount { get; set; }

Property Value

int