processCommand method

void processCommand(
  1. List<int> data
)

Implementation

void processCommand(List<int> data) {
  try {
    String commandLine = utf8.decode(data).trim();
    commandHandler.handleCommand(commandLine, this);
  } catch (e) {
    logger.generalLog(e.toString());
    sendResponse('500 Internal server error');
  }
}