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 void
Called 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:StreamingGetConnectionException
indicating connection or request initialization error, or an I/O error while reading response bytesStreamingGetResponseException
indicating a server response with an abnormal HTTP status codeStreamingGetHandlingException
indicating an issue with interpreting the response bytes- Parameters:
t
- received exception
-