Package | Description |
---|---|
org.opennms.protocols.snmp |
Modifier and Type | Field and Description |
---|---|
private SnmpHandler |
SnmpSession.m_defHandler
The default SNMP callback handler.
|
private SnmpHandler |
SnmpRequest.m_handler
The SnmpHandler to invoke for this request
|
Modifier and Type | Method and Description |
---|---|
SnmpHandler |
SnmpSession.getDefaultHandler()
Gets the default SnmpHandler for the session.
|
SnmpHandler |
SnmpRequest.getHandler() |
Modifier and Type | Method and Description |
---|---|
int |
SnmpSession.send(SnmpPduPacket pdu,
SnmpHandler handler)
Send the SNMP PDU to the remote agent and invokes the
specified handler when the packet is recieve.
|
int |
SnmpSession.send(SnmpPduTrap pdu,
SnmpHandler handler)
Send the SNMP PDU Trap to the remote agent.
|
void |
SnmpSession.setDefaultHandler(SnmpHandler hdl)
Sets the default SnmpHandler.
|
Constructor and Description |
---|
SnmpRequest(SnmpSession session,
java.lang.Integer requestID,
SnmpPduPacket pdu,
SnmpHandler handler)
Used to create an SnmpRequest object.
|
SnmpRequest(SnmpSession session,
SnmpPduTrap pdu,
SnmpHandler handler)
Used to create an SnmpRequest object.
|
Generated by iurt on 2015.