DataSource.NET
7.1.27.94946-7eb8eb54
|
Public Member Functions | |
void | onError (SubjectError subjectError) |
void | onNext (T message) |
void | onStatus (SubjectStatus subjectStatus) |
The SubjectConsumer
interface allows applications to receive json events raised for a subscription.
Note:: the SubjectConsumer
methods are not called on a dedicated worker thread. Therefore, if any of these methods are likely take a relatively long time to execute, they should be coded to run in a separate thread.
void Caplin.DataSource.Subscription.ISubjectConsumer< T >.onError | ( | SubjectError | subjectError | ) |
Called if there is a subscription error
subjectError | the subject error |
void Caplin.DataSource.Subscription.ISubjectConsumer< T >.onNext | ( | T | message | ) |
Called when an update is received
message | the message updated |
void Caplin.DataSource.Subscription.ISubjectConsumer< T >.onStatus | ( | SubjectStatus | subjectStatus | ) |
Called when the object status changes
subjectStatus | the object status |