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 > EnsLib.TCP.TextLineCommon


abstract class EnsLib.TCP.TextLineCommon extends %Library.RegisteredObject

Property Inventory

Method Inventory


parameter SETTINGS = Charset::selector?context={Ens.ContextSearch/CharacterSets};


property %HadCR as %Boolean;
Write out lines with same terminator as lines we read
Property methods: %HadCRDisplayToLogical(), %HadCRGet(), %HadCRIsValid(), %HadCRLogicalToDisplay(), %HadCRNormalize(), %HadCRSet()
property %PartialLine as %String;
Property methods: %PartialLineDisplayToLogical(), %PartialLineGet(), %PartialLineIsValid(), %PartialLineLogicalToDisplay(), %PartialLineLogicalToOdbc(), %PartialLineNormalize(), %PartialLineSet()
property %Table as %String;
Property methods: %TableDisplayToLogical(), %TableGet(), %TableIsValid(), %TableLogicalToDisplay(), %TableLogicalToOdbc(), %TableNormalize(), %TableSet()
property Charset as %String [ InitialExpression = "Default" ];
Text Charset to use to decode incoming data and encode outgoing data
Property methods: CharsetDisplayToLogical(), CharsetGet(), CharsetIsValid(), CharsetLogicalToDisplay(), CharsetLogicalToOdbc(), CharsetNormalize(), CharsetSet()


method ReadLine(Output pLine As %String = "", pTimeout As %Numeric = ..ReadTimeout, pInbound As %Boolean = 0) as %Status
method Write(pString As %String, pInbound As %Boolean = 0) as %Status
method WriteLine(pString As %String, pInbound As %Boolean = 0) as %Status

Inherited Members

Inherited Methods


FeedbackOpens in a new window