Class QueueState
- Namespace
- Inetlab.SMPP.Common
- Assembly
- cs.temp.dll.dll
Represents state for receive and send queues
public class QueueState
- Inheritance
-
ObjectQueueState
Constructors
QueueState(Int32, Int32, Int32, Int32)
public QueueState(int sendCount, int sendWorkersCount, int receiveCount, int receiveWorkersCount)
Parameters
sendCountInt32sendWorkersCountInt32receiveCountInt32receiveWorkersCountInt32
Properties
ReceiveCount
Gets number of PDUs that stay in the receive queue and wait for being processed with application event handlers.
public int ReceiveCount { get; set; }
Property Value
- Int32
ReceiveWorkersCount
Gets number of worker threads that process PDUs from receive queue and invoke event handlers in the application
public int ReceiveWorkersCount { get; set; }
Property Value
- Int32
SendCount
Gets number of PDUs that stay in the send queue before sending to network
public int SendCount { get; set; }
Property Value
- Int32
SendWorkersCount
Gets number of worker threads that send PDUs to remote side. Always 1.
public int SendWorkersCount { get; set; }
Property Value
- Int32