Skip to main content

Ens.Enterprise.MsgBank.BankTCPAdapter

class Ens.Enterprise.MsgBank.BankTCPAdapter extends EnsLib.TCP.InboundAdapter, EnsLib.TCP.CountedCommon

Block-oriented TCP Inbound Adapter used by the MsgBank to receive messages submitted by a MsgBank client node

Property Inventory

Method Inventory

Parameters

parameter SERVICEINPUTCLASS = %Stream.Object;
parameter SERVICEOUTPUTCLASS = %String;
parameter SETTINGS = -Endian,-Charset;
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

property Charset as %String [ InitialExpression = "@UTF8" ];
Inherited description: Character encoding scheme used for decoding incoming data and encoding outgoing data. For no encoding, use 'Binary'. Other choices include:
Native - the default character encoding of the installed locale of the Ensemble server
latin1 - the ISO Latin1 8-bit encoding
ISO-8859-1 - the ISO Latin1 8-bit encoding
UTF-8 - the Unicode 8-bit encoding
Unicode - the Unicode 16-bit encoding (Little-Endian)
UnicodeBig - the Unicode 16-bit encoding (Big-Endian)
@<ttable> - <ttable> means a raw InterSystems character translation table name. A prefix of '@' means to use the named table.
Property methods: CharsetDisplayToLogical(), CharsetGet(), CharsetIsValid(), CharsetLogicalToDisplay(), CharsetLogicalToOdbc(), CharsetNormalize(), CharsetSet()
property Port as Ens.DataType.TCPAgentPort [ InitialExpression = 9192 , Required ];
TCP Port to connect to
Property methods: PortDisplayToLogical(), PortGet(), PortIsValid(), PortLogicalToDisplay(), PortLogicalToOdbc(), PortNormalize(), PortSet()

Methods

method OnConnected() as %Status

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab