Class PollEventCommand


  • public class PollEventCommand
    extends Command<byte[]>
    • Constructor Detail

      • PollEventCommand

        public PollEventCommand()
    • Method Detail

      • writeBody

        public void writeBody​(CommandSender sender)
                       throws IOException
        Description copied from class: Command
        Writes the body of the command.
        Specified by:
        writeBody in class Command<byte[]>
        Parameters:
        sender - the sender used to send the command.
        Throws:
        IOException - if an I/O error occurs.
      • readResponseInternal

        public byte[] readResponseInternal​(CommandReader reader)
                                    throws IOException
        Description copied from class: Command
        Reads and returns the response from the reader.
        Specified by:
        readResponseInternal in class Command<byte[]>
        Parameters:
        reader - the reader used to read the response.
        Returns:
        the response.
        Throws:
        IOException - if an I/O error occurs.