Interface RemoteStream.ErrorHandler<P extends BufferWriter>

Type Parameters:
P - the payload type
Enclosing interface:
RemoteStream<M extends BufferReader,P extends BufferWriter>

public static interface RemoteStream.ErrorHandler<P extends BufferWriter>
Allows consumers of this API to specify error handling logic when a payload cannot be pushed out.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleError(Throwable error, P data)
     
  • Method Details

    • handleError

      void handleError(Throwable error, P data)