class EnsLib.TCP.FramedInboundAdapter
extends EnsLib.TCP.InboundAdapter, EnsLib.TCP.FramedCommon, EnsLib.TCP.TextLineCommon
Inbound adapter for framed data over TCP
parameter SERVICEINPUTCLASS = "Ens.StreamContainer";
parameter SERVICEOUTPUTCLASS = "Ens.StreamContainer";
parameter SETTINGS = "UseFileStream,MessageFrameStart:Additional,MessageFrameEnd:Additional,RemoveFraming:Additional,DiscardDataNotwithinFraming:Additional,DiscardSilently:Additional,AddFramingToAcknowledgement:Additional";
List of properties can be set as settings in the configuration file
format is a comma separated list of property names
property AddFramingToAcknowledgement
as %Boolean [ InitialExpression = 1 ];
This setting is used to wrap the acknowledgement in the framing
specified by MessageFrameStart & MessageFrameEnd. The default is true.
property DiscardSilently
as %Boolean [ InitialExpression = 0 ];
If Discarding badly framed data and SendAcknowledgement is true
and Acknowledgement not generated by target of the service
then if this setting is false (the default) then return NACK else
ignore.
method Disconnect()
method OnConnected()
as %Status
method OnInit()
as %Status
This user callback method is called just after %OnNew()