Package org.opennms.protocols.snmp

Examples of org.opennms.protocols.snmp.SnmpIPAddress


                  case SnmpAgentService.SNMPV1:
                     if (v1TrapPdu == null)
                        v1TrapPdu = this.trapFactory.generateV1Trap(n);
                    
                     // fix the agent ip in the trap depending on which local address is bound
                     v1TrapPdu.setAgentAddress(new SnmpIPAddress(s.getLocalAddress()));
                           
                     // Advance the trap counter
                     this.trapCount.advance();
                           
                     // Send
View Full Code Here


                  case SnmpAgentService.SNMPV1:
                     if (v1TrapPdu == null)
                        v1TrapPdu = this.trapFactory.generateV1Trap(n);
                    
                     // fix the agent ip in the trap depending on which local address is bound
                     v1TrapPdu.setAgentAddress(new SnmpIPAddress(s.getLocalAddress()));
                           
                     // Advance the trap counter
                     this.trapCount.advance();
                           
                     // Send
View Full Code Here

TOP

Related Classes of org.opennms.protocols.snmp.SnmpIPAddress

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.