Package energy.trolie.client
Interface StreamingResponseReceiver
- All Known Subinterfaces:
ForecastSnapshotReceiver,ForecastSnapshotSubscribedReceiver,MonitoringSetsReceiver,MonitoringSetsSubscribedReceiver,RealTimeSnapshotReceiver,RealTimeSnapshotSubscribedReceiver,StreamingSubscribedResponseReceiver
public interface StreamingResponseReceiver
Base interface for receiver of streaming GET response data
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidCalled when an error occurs establishing, executing or handling the polling request.
-
Method Details
-
error
Called when an error occurs establishing, executing or handling the polling request. Possible exception types are:StreamingGetConnectionExceptionindicating connection or request initialization error, or an I/O error while reading response bytesStreamingGetResponseExceptionindicating a server response with an abnormal HTTP status codeStreamingGetHandlingExceptionindicating an issue with interpreting the response bytes- Parameters:
t- received exception
-