Click or drag to resize

IClientSubscription Interface

Represents a common set of interfaces for a client adapter subscription to the DataPublisher.

Namespace: GSF.TimeSeries.Transport
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.181-beta
Syntax
public interface IClientSubscription : IActionAdapter, 
	IAdapter, ISupportLifecycle, IDisposable, IProvideStatus

The IClientSubscription type exposes the following members.

Properties
 NameDescription
Public propertyAutoStart Gets or sets flag indicating if adapter should automatically start or connect on demand.
(Inherited from IAdapter)
Public propertyClientID Gets the Guid client TCP connection identifier of this IClientSubscription.
Public propertyCompressionStrength Gets or sets the compression strength value to use when UsePayloadCompression is true for this IClientSubscription.
Public propertyConnectionInfo Gets connection info for adapter, if any.
(Inherited from IAdapter)
Public propertyConnectionString Gets or sets key/value pair connection information specific to IAdapter.
(Inherited from IAdapter)
Public propertyDataSource Gets or sets DataSet based data source available to IAdapter.
(Inherited from IAdapter)
Public propertyEnabled Gets or sets a boolean value that indicates whether the object is enabled.
(Inherited from ISupportLifecycle)
Public propertyID Gets or sets the numeric ID associated with this IAdapter.
(Inherited from IAdapter)
Public propertyInitializationTimeout Gets or sets maximum time system will wait during Start for initialization.
(Inherited from IAdapter)
Public propertyInitialized Gets or sets flag indicating if the adapter has been initialized successfully.
(Inherited from IAdapter)
Public propertyInputMeasurementKeys Gets or sets primary keys of input measurements the adapter expects.
(Inherited from IAdapter)
Public propertyInputSourceIDs Gets or sets Source values used to filter input measurement keys.
(Inherited from IActionAdapter)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from ISupportLifecycle)
Public propertyMeasurementReportingInterval Gets or sets the measurement reporting interval.
Public propertyName Gets or sets name of this IAdapter.
(Inherited from IAdapter)
Public propertyOutputMeasurements Gets or sets output measurements that the adapter will produce, if any.
(Inherited from IAdapter)
Public propertyOutputSourceIDs Gets or sets Source values used to filter output measurements.
(Inherited from IActionAdapter)
Public propertyProcessedMeasurements Gets the total number of measurements processed thus far by the IAdapter.
(Inherited from IAdapter)
Public propertyProcessingInterval Gets or sets the desired processing interval, in milliseconds, for the adapter.
(Inherited from IAdapter)
Public propertyRequestedInputFilter Gets the input filter requested by the subscriber when establishing this IClientSubscription.
Public propertyRequestedInputMeasurementKeys Gets or sets input measurement keys that are requested by other adapters based on what adapter says it can provide.
(Inherited from IActionAdapter)
Public propertyRequestedOutputMeasurementKeys Gets or sets output measurement keys that are requested by other adapters based on what adapter says it can provide.
(Inherited from IActionAdapter)
Public propertyRespectInputDemands Gets or sets flag indicating if action adapter should respect auto-start requests based on input demands.
(Inherited from IActionAdapter)
Public propertyRespectOutputDemands Gets or sets flag indicating if action adapter should respect auto-start requests based on output demands.
(Inherited from IActionAdapter)
Public propertySettings Gets settings DictionaryTKey, TValue parsed when ConnectionString was assigned.
(Inherited from IAdapter)
Public propertySignalIndexCache Gets the current signal index cache of this IClientSubscription.
Public propertyStartTimeConstraint Gets the start time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from IAdapter)
Public propertyStatus Gets the current status details about object providing status information.
(Inherited from IProvideStatus)
Public propertyStopTimeConstraint Gets the stop time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
(Inherited from IAdapter)
Public propertySubscriberID Gets the Guid based subscriber ID of this IClientSubscription.
Public propertySupportsTemporalProcessing Gets the flag indicating if this adapter supports temporal processing.
(Inherited from IAdapter)
Public propertyTemporalSessionStatus Gets the status of the active temporal session, if any.
Public propertyTimestampSize Gets size of timestamp in bytes.
Public propertyUseCompactMeasurementFormat Gets or sets flag that determines if the compact measurement format should be used in data packets of this IClientSubscription.
Public propertyUsePayloadCompression Gets or sets flag that determines if payload compression should be enabled in data packets of this IClientSubscription.
Top
Methods
 NameDescription
Public methodConfirmBufferBlock Handles the confirmation message received from the subscriber to indicate that a buffer block was received.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetShortStatus Gets a short one-line adapter status.
(Inherited from IAdapter)
Public methodInitialize Initializes the state of the object.
(Inherited from ISupportLifecycle)
Public methodOnProcessException Explicitly raises the ProcessException event.
Public methodOnProcessingCompleted Explicitly raises the ProcessingComplete event.
Public methodOnStatusMessage Explicitly raises the StatusMessage event.
Public methodQueueMeasurementsForProcessing Queues measurements for processing. Measurements are automatically filtered to the defined InputMeasurementKeys.
(Inherited from IActionAdapter)
Public methodSetTemporalConstraint Defines a temporal processing constraint for the adapter.
(Inherited from IAdapter)
Public methodStart Starts the adapter, if it is not already running.
(Inherited from IAdapter)
Public methodStop Stops the adapter.
(Inherited from IAdapter)
Top
Events
 NameDescription
Public eventBufferBlockRetransmission Indicates that a buffer block needed to be retransmitted because it was previously sent, but no confirmation was received.
Public eventConfigurationChanged Event is raised when adapter is aware of a configuration change.
(Inherited from IAdapter)
Public eventDiscardingMeasurements This event is raised if there are any measurements being discarded during the sorting process.
(Inherited from IActionAdapter)
Public eventDisposed Raised after the source object has been properly disposed.
(Inherited from ISupportLifecycle)
Public eventInputMeasurementKeysUpdated Event is raised when InputMeasurementKeys are updated.
(Inherited from IAdapter)
Public eventNewMeasurements Provides new measurements from action adapter.
(Inherited from IActionAdapter)
Public eventOutputMeasurementsUpdated Event is raised when OutputMeasurements are updated.
(Inherited from IAdapter)
Public eventProcessException Event is raised when there is an exception encountered while processing.
(Inherited from IAdapter)
Public eventProcessingComplete Indicates to the host that processing for an input adapter (via temporal session) has completed.
Public eventStatusMessage Provides status messages to consumer.
(Inherited from IAdapter)
Public eventUnpublishedSamples This event is raised every five seconds allowing consumer to track current number of unpublished seconds of data in the queue.
(Inherited from IActionAdapter)
Top
Extension Methods
 NameDescription
Public Extension MethodCreateTemporalSession Returns a new temporal IaonSession for a IClientSubscription.
(Defined by IClientSubscriptionExtensions)
Public Extension MethodDisposeTemporalSession Disposes a temporal IaonSession created using CreateTemporalSession(IClientSubscription).
(Defined by IClientSubscriptionExtensions)
Public Extension MethodInputMeasurementKeys Returns the MeasurementKey values of the IAdapter input measurements.
(Defined by IAdapterExtensions)
Public Extension MethodOutputMeasurementKeys Returns the MeasurementKey values of the IAdapter output measurements.
(Defined by IAdapterExtensions)
Public Extension MethodTemporalConstraintIsDefined Returns true if IAdapter has a temporal constraint defined, i.e., either StartTimeConstraint or StopTimeConstraint is not set to its default value.
(Defined by IAdapterExtensions)
Top
See Also