@FunctionalInterface
public interface StreamFailureListener
| Modifier and Type | Method and Description |
|---|---|
void |
onStreamFailure(java.lang.Exception exception) |
void onStreamFailure(java.lang.Exception exception)
exception - indicates that an error happened during operations of a stream; if this exception is an instance
of DisconnectedException this means that the stream got
disconnected (due to network errors, exchange going down for maintenance, etc.) and the stream
should be reconnected