Interface MessageStream.MessagesReadHandler

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onSuccess() On a successful request onSuccess is called.
      abstract Unit onFailure(Error error) On a unsuccessful request onFailure is called with a descriptive error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onSuccess

         abstract Unit onSuccess()

        On a successful request onSuccess is called.

      • onFailure

         abstract Unit onFailure(Error error)

        On a unsuccessful request onFailure is called with a descriptive error.

        Parameters:
        error - A description of the error