SnmpSharpNet.AsyncRequestState.AsyncRequestState C# (CSharp) 메소드

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
        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