Class JoeSnmpV2TrapBuilder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addVarBind​(SnmpObjId name, SnmpValue value)  
      void send​(java.lang.String destAddr, int destPort, java.lang.String community)  
      void sendTest​(java.lang.String destAddr, int destPort, java.lang.String community)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JoeSnmpV2TrapBuilder

        public JoeSnmpV2TrapBuilder()
    • Method Detail

      • send

        public void send​(java.lang.String destAddr,
                         int destPort,
                         java.lang.String community)
                  throws java.lang.Exception
        Specified by:
        send in interface SnmpTrapBuilder
        Throws:
        java.lang.Exception
      • sendTest

        public void sendTest​(java.lang.String destAddr,
                             int destPort,
                             java.lang.String community)
                      throws java.lang.Exception
        Specified by:
        sendTest in interface SnmpTrapBuilder
        Throws:
        java.lang.Exception