C# 클래스 SnmpSharpNet.AsyncRequestState

Internal class holding relevant information for async requests.
파일 보기 프로젝트 열기: griffina/SnmpSharpNet 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_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