C# Class SnmpSharpNet.AsyncRequestState

Internal class holding relevant information for async requests.
Show file 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 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 property

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

_maxRetries protected property

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

_packet protected property

Packet
protected byte[] _packet
return byte[]

_packetLength protected property

Packet length
protected int _packetLength
return int

_timeout protected property

Request timeout in milliseconds
protected int _timeout
return int

_timer protected property

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