C# Class SnmpSharpNet.AsyncRequestState

Internal class holding relevant information for async requests.
Afficher le fichier Open project: griffina/SnmpSharpNet Class Usage Examples

Protected Properties

Свойство Type Description
_currentRetry int
_endPoint System.Net.IPEndPoint
_maxRetries int
_packet byte[]
_packetLength int
_timeout int
_timer System.Threading.Timer

Méthodes publiques

Méthode Description
AsyncRequestState ( IPAddress peerIP, int peerPort, int maxretries, int timeout ) : System.Net

Constructor.

Method Details

AsyncRequestState() public méthode

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
Résultat System.Net

Property Details

_currentRetry protected_oe property

Current retry count. Value represents the number of retries that have been sent excluding the original request.
protected int _currentRetry
Résultat int

_endPoint protected_oe property

Peer end point
protected IPEndPoint,System.Net _endPoint
Résultat System.Net.IPEndPoint

_maxRetries protected_oe property

Maximum number of retries (0 = single request, no retries)
protected int _maxRetries
Résultat int

_packet protected_oe property

Packet
protected byte[] _packet
Résultat byte[]

_packetLength protected_oe property

Packet length
protected int _packetLength
Résultat int

_timeout protected_oe property

Request timeout in milliseconds
protected int _timeout
Résultat int

_timer protected_oe property

Timer class
protected Timer,System.Threading _timer
Résultat System.Threading.Timer