Click or drag to resize

JobSessionAggregatedListenerBaseTStarted, TProgress, TEvents, TCompleted Class

Helper for subscribe to the session events channel. Handles all callbacks.
Inheritance Hierarchy
SystemObject
  SOS.SDK.Tools.Listeners.AggregatedListenersJobSessionAggregatedListenerBaseTStarted, TProgress, TEvents, TCompleted
    SOS.SDK.Tools.Listeners.AggregatedListenersJobSessionAggregatedListener
    SOS.SDK.Tools.Listeners.AggregatedListenersOnlineBackupAggregatedListener
    SOS.SDK.Tools.Listeners.AggregatedListenersRecoveryAggregatedListener
    SOS.SDK.Tools.Listeners.AggregatedListenersRefreshRecoveryAggregatedListener

Namespace:  SOS.SDK.Tools.Listeners.AggregatedListeners
Assembly:  SOS.SDK (in SOS.SDK.dll) Version: 7.6.1.5742
Syntax
C#
public class JobSessionAggregatedListenerBase<TStarted, TProgress, TEvents, TCompleted> : IDisposable
where TStarted : JobSessionContract
where TProgress : JobSessionContract
where TEvents : JobEventsContract
where TCompleted : JobSessionContract

Type Parameters

TStarted
Base type for JobStarted event data. All events with other message type ignored.
TProgress
Base type for JobProgress event data. All events with other message type ignored.
TEvents
Base type for JobEvents event data. All events with other message type ignored.
TCompleted
Base type for JobCompleted event data. All events with other message type ignored.

The JobSessionAggregatedListenerBaseTStarted, TProgress, TEvents, TCompleted type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyErrorMessage
Error, occured during Job execution.
Public propertyFilterJobId
JobId for filtering messages.
Top
Methods
  NameDescription
Public methodDispose
Unsubscribe current Listener instance from all Infrascale Serverl callbacks.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodWaitForCompletion
Wait for Job completion. Blocks the current thread until JobCompleted callbacks is not received.
Public methodWaitForCompletion(TimeSpan)
Wait for Job completion. Blocks the current thread until JobCompleted callbacks is not received.
Top
Remarks
Filter events by event type, session etc.
See Also