Interface RDC.MsgListener

  • Enclosing class:
    RDC

    public static interface RDC.MsgListener
    FOR INTERNAL USE ONLY
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CANCEL
      Default answer possibility for implementor of method query
      static int NO
      Default answer possibility for implementor of method query
      static int YES
      Default answer possibility for implementor of method query
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int query​(java.lang.String key)
      This method is called for an (with Engine.setMsgListener) registered listener if a question should answered by the user.
    • Method Detail

      • query

        int query​(java.lang.String key)
        This method is called for an (with Engine.setMsgListener) registered listener if a question should answered by the user.
        Parameters:
        key - The message or the key of a message in a language ressource for the user.
        Returns:
        the answer of the user.
        See Also:
        YES, NO, CANCEL