Class JoeSnmpV1TrapBuilder

    • Constructor Detail

      • JoeSnmpV1TrapBuilder

        public JoeSnmpV1TrapBuilder()
    • Method Detail

      • setTimeStamp

        public void setTimeStamp​(long timeStamp)
        Specified by:
        setTimeStamp in interface SnmpV1TrapBuilder
        Parameters:
        timeStamp - A timestamp value, in TimeTicks (centiseconds), not to exceed 2^32-1
      • 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