Class JnaIcmpMessenger

    • Constructor Detail

      • JnaIcmpMessenger

        public JnaIcmpMessenger​(int pingerId)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • isV4Available

        public boolean isV4Available()
      • isV6Available

        public boolean isV6Available()
      • start

        public void start​(org.opennms.protocols.rt.ReplyHandler<JnaPingReply> callback)
        Specified by:
        start in interface org.opennms.protocols.rt.Messenger<JnaPingRequest,​JnaPingReply>
      • setTrafficClass

        public void setTrafficClass​(int tc)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • setAllowFragmentation

        public void setAllowFragmentation​(boolean allow)
                                   throws java.io.IOException
        Throws:
        java.io.IOException