Home > Class Reference > ENSLIB namespace > Ens.InboundAdapter

Ens.InboundAdapter

class Ens.InboundAdapter extends Ens.Adapter

Parameters

parameter SERVICEINPUTCLASS = %RegisteredObject;
parameter SERVICEOUTPUTCLASS = %RegisteredObject;
parameter SETTINGS = CallInterval:Basic;
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 BusinessHost as Ens.BusinessService;
Property methods: BusinessHostGet(), BusinessHostGetSwizzled(), BusinessHostIsValid(), BusinessHostNewObject(), BusinessHostSet()
property CallInterval as %Numeric (MINVAL = "0.1") [ InitialExpression = 5 ];
The minimum interval between invocations of the adapter by the Ensemble framework. For adapters that poll for external events, this is the polling interval. However, most polling adapters will process all inputs immediately if several are detected at one time. This is also the interval at which each Business Service will check for shutdown requests.
Property methods: CallIntervalDisplayToLogical(), CallIntervalGet(), CallIntervalIsValid(), CallIntervalLogicalToDisplay(), CallIntervalNormalize(), CallIntervalSet()

Methods

method OnTask() as %Status
default InboundAdapter behavior: always call ProcessInput on CallInterval

Inherited Methods

%AddToSaveSet() %GetParameter() AssignOneSetting()
%ClassIsLatestVersion() %IsA() ClearAllAppData()
%ClassName() %IsModified() ClearRuntimeAppData()
%ConstructClone() %New() ClearStaticAppData()
%DispatchClassMethod() %NormalizeObject() CredentialsSet()
%DispatchGetModified() %ObjectModified() EnumerateSettingsClose()
%DispatchGetProperty() %OriginalNamespace() EnumerateSettingsExecute()
%DispatchMethod() %PackageName() EnumerateSettingsFetch()
%DispatchSetModified() %RemoveFromSaveSet() GetSettings()
%DispatchSetMultidimProperty() %SerializeObject() OnInit()
%DispatchSetProperty() %SetModified() OnKeepalive()
%Extends() %ValidateObject() OnTearDown()

Subclasses

EnsLib.DotNetGateway.ServiceAdapter EnsLib.JavaGateway.ServiceAdapter EnsLib.TCP.DuplexAdapter
EnsLib.EMail.InboundAdapter EnsLib.MQSeries.InboundAdapter EnsLib.TCP.InboundAdapter
EnsLib.File.InboundAdapter EnsLib.MSMQ.InboundAdapter EnsLib.UDP.InboundAdapter
EnsLib.JMS.InboundAdapter EnsLib.Pipe.InboundAdapter
EnsLib.JavaGateway.InboundAdapter EnsLib.SQL.InboundAdapter