C# Class SnmpSharpNet.AsyncRequestState

Internal class holding relevant information for async requests.
Mostrar archivo Open project: griffina/SnmpSharpNet Class Usage Examples

Protected Properties

Property Type Description
_currentRetry int
_endPoint System.Net.IPEndPoint
_maxRetries int
_packet byte[]
_packetLength int
_timeout int
_timer System.Threading.Timer

Public Methods

Method Description
AsyncRequestState ( IPAddress peerIP, int peerPort, int maxretries, int timeout ) : System.Net

Constructor.

Method Details

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

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

_endPoint protected_oe property

Peer end point
protected IPEndPoint,System.Net _endPoint
return System.Net.IPEndPoint

_maxRetries protected_oe property

Maximum number of retries (0 = single request, no retries)
protected int _maxRetries
return int

_packet protected_oe property

Packet
protected byte[] _packet
return byte[]

_packetLength protected_oe property

Packet length
protected int _packetLength
return int

_timeout protected_oe property

Request timeout in milliseconds
protected int _timeout
return int

_timer protected_oe property

Timer class
protected Timer,System.Threading _timer
return System.Threading.Timer