Interface NECallback

  • All Implemented Interfaces:

    
    public interface NECallback<T extends Object>
    
                        

    通用回调

    • 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 onResult(Integer code, String message, T data) 通用回调
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onResult

         abstract Unit onResult(Integer code, String message, T data)

        通用回调

        Parameters:
        code - 错误码,0为成功,其他为失败
        message - 描述信息
        data - 数据实体