This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > Ens.DataType.TCPAgentPort


datatype class Ens.DataType.TCPAgentPort extends %Library.String


Datatype for a TCP Port to connect to (integer value below 65536, may be prepended with @AgentName:)

Method Inventory


parameter MAXLEN = 135;
Inherited description: The maximum number of characters the string can contain.
parameter MINLEN = 1;
Inherited description: The minimum number of characters the string can contain.


classmethod IsValid(pVal As %String) as %Status
Inherited description: Tests if the logical value %val, which is a string, is valid. The validation is based on the class parameter settings used for the class attribute this data type is associated with. In this case, MINLEN, MAXLEN, VALUELIST, and PATTERN.

Inherited Members

Inherited Methods