Class Reference
EnsLib.TCP.CountedOutboundAdapter
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [EnsLib] >  [TCP] >  [CountedOutboundAdapter]
Private  Storage

class EnsLib.TCP.CountedOutboundAdapter extends EnsLib.TCP.OutboundAdapter, EnsLib.TCP.CountedCommon

Adapter that sends out a counted block of bytes over a TCP connection and receives a response block

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 1 2


Summary

Properties
%CredentialsObj %WarnedLatest %lastRetryReconnect %logConnections
BusinessHost Charset ConnectTimeout Connected
Credentials Device Endian FlushBeforeSend
GetReply IOAddr IPAddress KeepaliveInterval
LocalInterface OldIO Port ReadTimeout
ReconnectRetry RegistryID ResponseTimeout SSLConfig
Socket StayConnected Terminators UseFileStream

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
AssignOneSetting ClearAllAppData ClearRuntimeAppData ClearStaticAppData
Connect ConnectedSet CredentialsSet Disconnect
EnumerateSettingsClose EnumerateSettingsExecute EnumerateSettingsFetch FlushWrite
GetAddress GetSettings IsReadError IsWriteError
OnInit OnKeepalive OnTearDown ReadCountedStream
ReadCountedString SendMessageStream SendMessageString TestConnection
WriteCountedStream WriteCountedString

Subclasses
EnsLib.TCP.CountedXMLOutboundAdapter

Parameters

• parameter SETTINGS = "FlushBeforeSend:Connection";
List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

• property FlushBeforeSend as %Boolean [ InitialExpression = 1 ];
Read out any data in the input buffer before sending output. This ensures that any reply received corresponds to the sent message, and if not looking for replies that the input buffer does not fill up with unexpected junk.

Methods

• method SendMessageStream(pRequestStream As %Stream.Object, ByRef pResponseStream As %CharacterStream = "%GlobalCharacterStream") as %Status
• method SendMessageString(pRequestString As %String, Output pResponseString As %String) as %Status


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