Package org.yamcs.client.base
Interface BulkRestDataReceiver
public interface BulkRestDataReceiver
-
Method Summary
Modifier and TypeMethodDescriptionvoid
receiveData
(byte[] data) called when receiving data.default void
Called when receiving an exception.
-
Method Details
-
receiveData
called when receiving data.- Parameters:
data
-- Throws:
ClientException
- if exception is thrown the request will be aborted (connection to the server closed)
-
receiveException
Called when receiving an exception. Note that the CompleteableFuture returned from RestClient can also be used to intercept the exception;- Parameters:
t
-
-