C# Класс SnmpSharpNet.AsyncRequestState

Internal class holding relevant information for async requests.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_currentRetry int
_endPoint System.Net.IPEndPoint
_maxRetries int
_packet byte[]
_packetLength int
_timeout int
_timer System.Threading.Timer

Открытые методы

Метод Описание
AsyncRequestState ( IPAddress peerIP, int peerPort, int maxretries, int timeout ) : System.Net

Constructor.

Описание методов

AsyncRequestState() публичный Метод

Constructor.
public AsyncRequestState ( IPAddress peerIP, int peerPort, int maxretries, int timeout ) : System.Net
peerIP System.Net.IPAddress Peer IP address
peerPort int Peer UDP port number
maxretries int Maximum number of retries
timeout int Timeout value in milliseconds
Результат System.Net

Описание свойств

_currentRetry защищенное свойство

Current retry count. Value represents the number of retries that have been sent excluding the original request.
protected int _currentRetry
Результат int

_endPoint защищенное свойство

Peer end point
protected IPEndPoint,System.Net _endPoint
Результат System.Net.IPEndPoint

_maxRetries защищенное свойство

Maximum number of retries (0 = single request, no retries)
protected int _maxRetries
Результат int

_packet защищенное свойство

Packet
protected byte[] _packet
Результат byte[]

_packetLength защищенное свойство

Packet length
protected int _packetLength
Результат int

_timeout защищенное свойство

Request timeout in milliseconds
protected int _timeout
Результат int

_timer защищенное свойство

Timer class
protected Timer,System.Threading _timer
Результат System.Threading.Timer