Click or drag to resize

JobSessionCompletedListenerT Class

Helper for subscribe to the session events channel. Handles JobCompleted callbacks.
Inheritance Hierarchy
SystemObject
  SOS.SDK.Tools.ListenersJobSessionListenerBaseT
    SOS.SDK.Tools.ListenersJobSessionCompletedListenerT

Namespace:  SOS.SDK.Tools.Listeners
Assembly:  SOS.SDK (in SOS.SDK.dll) Version: 7.6.1.5742
Syntax
C#
public class JobSessionCompletedListener<T> : JobSessionListenerBase<T>
where T : JobSessionContract

Type Parameters

T
Base type for event data. All events with other message type ignored.

The JobSessionCompletedListenerT type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodDispose
Dispose listener for unsubscribe from Infrascale Client events.
(Inherited from JobSessionListenerBaseT.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodListen
Subscribe the client event for this method.
(Inherited from JobSessionListenerBaseT.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnHandled
Calling after handling of callback.
(Overrides JobSessionListenerBaseTOnHandled(T).)
Protected methodSubscribe
Subscribe to Infrascale Client JobCompleted callback.
(Overrides JobSessionListenerBaseTSubscribe.)
Public methodToString (Inherited from Object.)
Protected methodUnsubscribe
Unsubscribe from Infrascale Client JobCompleted callback.
(Overrides JobSessionListenerBaseTUnsubscribe.)
Public methodWait
Wait for Job completion. Blocks the current thread until JobCompleted callbacks is not received.
Public methodWait(TimeSpan)
Wait for Job completion. Blocks the current thread until JobCompleted callbacks is not received.
Top
Remarks
Filter events by event type, session etc. Dispose result after Job Completion for unsubscribe from Infrascale Service callbacks.
See Also