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, s) {
    logger.generalLog("error: $e stack: $s ,input bytes $data");
    sendResponse('500 Internal server error');
  }
}