SnmpSharpNet.AsyncRequestState.AsyncRequestState C# (CSharp) Method

AsyncRequestState() public method

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
return System.Net
        public AsyncRequestState(IPAddress peerIP, int peerPort, int maxretries, int timeout)
        {
            _endPoint = new IPEndPoint(peerIP, peerPort);
            _maxRetries = maxretries;
            _timeout = timeout;
            // current retry value is set to -1 because we do not count the first request as a retry.
            _currentRetry = -1;
            _timer = null;
        }
AsyncRequestState