Interface IStreamEventHandler
Callback interface for receiving stream events.
public interface IStreamEventHandler
Methods
OnError(Exception)
Called when an error occurs in the event stream.
void OnError(Exception ex)
Parameters
exExceptionThe exception that occurred.
OnEvent(TopicEventRequest)
Called when a regular event is received.
void OnEvent(TopicEventRequest e)
Parameters
eTopicEventRequestThe topic event request containing event data.