Class NetDetectIpState

    • Constructor Detail

      • NetDetectIpState

        public NetDetectIpState()
      • NetDetectIpState

        public NetDetectIpState​(NetDetectIpState source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getDetectDestinationIp

        public String getDetectDestinationIp()
        Get 探测目的IPv4地址。
        Returns:
        DetectDestinationIp 探测目的IPv4地址。
      • setDetectDestinationIp

        public void setDetectDestinationIp​(String DetectDestinationIp)
        Set 探测目的IPv4地址。
        Parameters:
        DetectDestinationIp - 探测目的IPv4地址。
      • getState

        public Long getState()
        Get 探测结果。 0:成功; -1:查询不到路由丢包; -2:外出ACL丢包; -3:IN ACL丢包; -4:其他错误;
        Returns:
        State 探测结果。 0:成功; -1:查询不到路由丢包; -2:外出ACL丢包; -3:IN ACL丢包; -4:其他错误;
      • setState

        public void setState​(Long State)
        Set 探测结果。 0:成功; -1:查询不到路由丢包; -2:外出ACL丢包; -3:IN ACL丢包; -4:其他错误;
        Parameters:
        State - 探测结果。 0:成功; -1:查询不到路由丢包; -2:外出ACL丢包; -3:IN ACL丢包; -4:其他错误;
      • getDelay

        public Long getDelay()
        Get 时延,单位毫秒
        Returns:
        Delay 时延,单位毫秒
      • setDelay

        public void setDelay​(Long Delay)
        Set 时延,单位毫秒
        Parameters:
        Delay - 时延,单位毫秒
      • getPacketLossRate

        public Long getPacketLossRate()
        Get 丢包率
        Returns:
        PacketLossRate 丢包率
      • setPacketLossRate

        public void setPacketLossRate​(Long PacketLossRate)
        Set 丢包率
        Parameters:
        PacketLossRate - 丢包率