Class PortSegment

    • Constructor Detail

      • PortSegment

        public PortSegment()
      • PortSegment

        public PortSegment​(PortSegment 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

      • getBeginPort

        public Long getBeginPort()
        Get 起始端口,取值1~65535
        Returns:
        BeginPort 起始端口,取值1~65535
      • setBeginPort

        public void setBeginPort​(Long BeginPort)
        Set 起始端口,取值1~65535
        Parameters:
        BeginPort - 起始端口,取值1~65535
      • getEndPort

        public Long getEndPort()
        Get 结束端口,取值1~65535,必须不小于起始端口
        Returns:
        EndPort 结束端口,取值1~65535,必须不小于起始端口
      • setEndPort

        public void setEndPort​(Long EndPort)
        Set 结束端口,取值1~65535,必须不小于起始端口
        Parameters:
        EndPort - 结束端口,取值1~65535,必须不小于起始端口