Class ProtocolPort

    • Constructor Detail

      • ProtocolPort

        public ProtocolPort()
      • ProtocolPort

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

      • getProtocol

        public String getProtocol()
        Get 协议(tcp;udp)
        Returns:
        Protocol 协议(tcp;udp)
      • setProtocol

        public void setProtocol​(String Protocol)
        Set 协议(tcp;udp)
        Parameters:
        Protocol - 协议(tcp;udp)
      • getPort

        public Long getPort()
        Get 端口
        Returns:
        Port 端口
      • setPort

        public void setPort​(Long Port)
        Set 端口
        Parameters:
        Port - 端口