classdef TCPChannel < target.CommunicationChannel

    properties (Dependent)
        IPAddress (1, 1) string
        Port (1, 1) string
    end

    methods

        function value = get.IPAddress(this)
            value = this.InnerInstance.IPAddress;
        end

        function set.IPAddress(this, value)
            this.InnerInstance.IPAddress = value;
        end

        function value = get.Port(this)
            value = this.InnerInstance.Port;
        end

        function set.Port(this, value)
            this.InnerInstance.Port = value;
        end
    end

    methods (Static, Access = protected)

        function name = getQualifiedName()
            name = "target.TCPChannel";
        end

        function name = getQualifiedInnerName()
            name = "target.internal.TCPChannel";
        end
    end
end

%   Copyright 2021-2022 The MathWorks, Inc.