Package org.zeromq

Interface ZAuth.Auth

    • Method Detail

      • configure

        boolean configure​(ZMsg msg,
                          boolean verbose)
        Configures with ad-hoc message.
        Parameters:
        msg - the configuration message.
        verbose - true if the actor is verbose.
        Returns:
        true if correctly configured, otherwise false.
      • authorize

        boolean authorize​(ZAuth.ZapRequest request,
                          boolean verbose)
        Callback for authorizing a connection.
        Parameters:
        request -
        verbose -
        Returns:
        true if the connection is authorized, false otherwise.