Class CommandEvent

    • Constructor Detail

      • CommandEvent

        public CommandEvent​(int requestId,
                            ConnectionDescription connectionDescription,
                            String commandName)
        Construct an instance.
        Parameters:
        requestId - the request id
        connectionDescription - the connection description
        commandName - the command name
    • Method Detail

      • getRequestId

        public int getRequestId()
        Gets the request identifier
        Returns:
        the request identifier
      • getConnectionDescription

        public ConnectionDescription getConnectionDescription()
        Gets the description of the connection to which the operation will be sent.
        Returns:
        the connection description
      • getCommandName

        public String getCommandName()
        Gets the name of the command.
        Returns:
        the command name