Interface UserInterface

  • All Known Implementing Classes:
    CommandLineInput

    public interface UserInterface
    • Method Detail

      • promptTrustCommunicationPartner

        boolean promptTrustCommunicationPartner​(java.lang.String prefix,
                                                java.lang.String ski)
      • promptProlongationRequest

        boolean promptProlongationRequest​(java.lang.String prefix)
        prompts user to accept/decline a prolongation request
        Parameters:
        prefix - server/client with port number
        Returns:
        true if user accepted the prolongation request, else false
      • promptEnterRestrictedOk

        boolean promptEnterRestrictedOk​(java.lang.String prefix)
      • promptSendPin

        boolean promptSendPin​(java.lang.String prefix)
        asks user if user wants to send a PIN
        Parameters:
        prefix - server/client with port number
        Returns:
        true if user wants to send a PIN, else false
      • promptInputPin

        java.lang.String promptInputPin​(java.lang.String prefix)
        prompts user to input a PIN. The returned PIN can then be sent to the communication partner
        Parameters:
        prefix - server/client with port number
        Returns:
        the input PIN