Interface RequestTransport.TransportReceiver

  • Enclosing interface:
    RequestTransport

    public static interface RequestTransport.TransportReceiver
    A callback interface.
    • Method Detail

      • onTransportSuccess

        void onTransportSuccess​(java.lang.String payload)
        Called when the transmission succeeds.
        Parameters:
        payload - the String payload
      • onTransportFailure

        void onTransportFailure​(ServerFailure failure)
        Called to report a transmission failure as a ServerFailure.
        Parameters:
        failure - a ServerFailure instance indicating the nature of the failure