Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [DataType] >  [TCPAgentPort]
Private  Storage   

datatype class Ens.DataType.TCPAgentPort extends %String

ODBC Type: VARCHAR

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 1


Summary

Methods
DisplayToLogical IsValid JSONToLogical LogicalToDisplay
LogicalToJSON LogicalToOdbc LogicalToXSD Normalize
XSDToLogical


Parameters

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

Methods

• classmethod IsValid(pVal As %String) as %Status
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.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.