Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [EnsLib] >  [EDI] >  [XML] >  [Service] >  [TCPFramed]
Private  Storage   

class EnsLib.EDI.XML.Service.TCPFramed extends EnsLib.EDI.XML.Service.Standard, EnsLib.TCP.Framed.PassthroughService

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2 4


Summary

This is a Business Service class.

The associated Adapter class is EnsLib.TCP.FramedInboundAdapter.

Properties
%AlertStartTime %ConfigName %ConfigQueueName
%LastActionTime %LastHandledTime %LastReportedError
%OutsideCreated %PreserveSession %ProcessInputCalled
%QuitTask %RequestHeader %SessionId
%SuperSession %SuperSessionCreatedBeforeSession %VDocFormat
%WaitForNextCallInterval %WarnedLatest %isShadow
AckNotOK AckNotOKAsChars AckOK
AckOKAsChars Adapter AlertGracePeriod
AlertGroups AlertOnError ArchiveIO
BusinessPartner DocSchemaCategory GenerateSuperSessionID
IOLogEntry InactivityTimeout ReplyMode
SearchTableClass SendAcknowledgement SyncCall
SyncCallTimeout TargetConfigNames ThrottleDelay
Validation

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OnClose %OnNew
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %SuperSessionSet %ValidateObject AdapterName
AssignOneSetting CloseIOLogEntry EnumerateSettingsClose EnumerateSettingsExecute
EnumerateSettingsFetch ForceSessionId GenerateSuperSession GetDeferredResponseToken
GetMsgHdrRequestKey GetProductionSettingValue GetProductionSettings GetPropertyConnections
GetRequestClassList GetResponseClassList GetSettings GetShadowInstance
IOLogDiscard NewIOLogEntry OnDocumentEnd OnDocumentStart
OnError OnGenerateSuperSession OnGetConnections OnInit
OnKeepalive OnMonitor OnParsingError OnPostDocument
OnPreDocument OnProcessInput OnProductionStart OnProductionStop
OnResolveDocType OnTearDown OnValidate PopulateSuperSession
QueueName SaveIOLogEntry SendAlert SendDeferredResponse
SendReply SendRequestAsync SendRequestSync reportReply
resolveAndIndex resolveDocType standardOnProcessInput


Parameters

• parameter ADAPTER = "EnsLib.TCP.FramedInboundAdapter";
The type of adapter used to communicate with external systems
• parameter SETTINGS = "SearchTableClass::selector?context={Ens.ContextSearch/SearchTableClasses?host=EnsLib.EDI.XML.Service.Standard},ReplyMode,DocSchemaCategory:Basic:selector?context={Ens.ContextSearch/SchemaCategories?host=EnsLib.EDI.XML.Service.Standard},Validation,-SendAcknowledgement,-SyncCall,-SyncCallTimeout";
List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

• property %VDocFormat as %String;
Format options to apply if we need to output an XML VDoc object as a Stream
• property ReplyMode as %String(DISPLAYLIST=",Never,Immediate,Application",VALUELIST=",Never,Immed,App") [ InitialExpression = "Immed" ];
Control of Reply handling; options:
- Never : Do not send back any ACK
- Immediate : Send back AckOK or AckNotOK characters reply message immediately upon receipt of the inbound message
- Application : If message passes validation, wait for reply from target config item and forward it back when it arrives

Methods

• classmethod OnGetConnections(Output pArray As %String, pItem As Ens.Config.Item)
Return an array of connections for drawing lines on the config diagram
• method OnInit() as %Status
This user callback method is called via initConfig() from %OnNew() or in the case of SOAP Services from OnPreSOAP()
• method OnProcessInput(pInput As %Stream.Object, pOutput As %RegisteredObject) as %Status
Wrap the input stream object in a StreamContainer message object and send it. If the SyncCall setting is true, send synchronously; otherwise send async to ensure that we don't return to the Adapter and let it delete the stream before the target Config Item is finished processing it.
• method reportReply(pOriginalDoc As EnsLib.EDI.Document, pReplyCode As %String = "", ByRef pSC As %Status) as EnsLib.EDI.Document


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