Home > Class Reference > ENSLIB namespace > EnsLib.TCP.CountedOutboundAdapter


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


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


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.
Property methods: FlushBeforeSendDisplayToLogical(), FlushBeforeSendGet(), FlushBeforeSendIsValid(), FlushBeforeSendLogicalToDisplay(), FlushBeforeSendNormalize(), FlushBeforeSendSet()


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

Inherited Methods

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