프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_address | |||
_agentParameters | IAgentParameters | ||
_port | int | ||
_retry | int | ||
_timeout | int |
메소드 | 설명 | |
---|---|---|
Discovery ( |
Perform SNMP version 3 discovery operation. This is the first operation that needs to be performed on a newly accessed agent to retrieve agentId, agentBoots and agentTime values, critical for further authentication and privacy operations.
|
|
DiscoveryAsync ( |
Make an async discovery request for protocol version 3.
|
|
Request ( Pdu pdu, IAgentParameters agentParameters ) : |
Make SNMP Request Make SNMP request. With this method you can make blocked SNMP version 1, 2 and 3 requests of type GET, GET-NEXT, GET-BULK, SET and REPORT (request types have to compatible with the SNMP protocol version you are using). This method will pass through any exceptions thrown by parsing classes/methods so see individual packet classes, ASN.1 type classes, authentication, privacy, etc. classes for exceptions thrown. |
|
RequestAsync ( Pdu pdu, IAgentParameters agentParameters, SnmpAsyncResponse responseCallback ) : bool |
Make SNMP request. With this method you can make blocked SNMP version 1, 2 and 3 requests of type GET, GET-NEXT, GET-BULK, SET and REPORT (request types have to compatible with the SNMP protocol version you are using). This method will pass through any exceptions thrown by parsing classes/methods so see individual packet classes, ASN.1 type classes, authentication, privacy, etc. classes for exceptions thrown.
|
|
UdpTarget ( |
Constructor Initializes the class with defaults for timeout (2000ms = 2 seconds), retry (two) and agent UDP port number (161). |
|
UdpTarget ( |
Constructor.
|
메소드 | 설명 | |
---|---|---|
AsyncResponse ( AsyncRequestResult result, |
public Discovery ( |
||
param | ||
리턴 | bool |
public DiscoveryAsync ( |
||
param | Agent parameters | |
callback | SnmpAsyncResponse | Callback method |
리턴 | bool |
public Request ( Pdu pdu, IAgentParameters agentParameters ) : |
||
pdu | Pdu | Pdu class (do not pass ScopedPdu) |
agentParameters | IAgentParameters | Security information for the request. Use |
리턴 |
public RequestAsync ( Pdu pdu, IAgentParameters agentParameters, SnmpAsyncResponse responseCallback ) : bool | ||
pdu | Pdu | Pdu class (do not pass ScopedPdu) |
agentParameters | IAgentParameters | Security information for the request. Use |
responseCallback | SnmpAsyncResponse | Callback that receives the result of the async operation. |
리턴 | bool |
public UdpTarget ( |
||
peer | Agent IP address | |
리턴 | System |
public UdpTarget ( |
||
peer | SNMP peer IP address | |
port | int | SNMP peer UDP port number |
timeout | int | SNMP peer timeout in milliseconds |
retry | int | SNMP peer maximum retires setting. Value of 0 will result in a single request with no retries. |
리턴 | System |