private void redirectGpgConnection(){
  try {
    while (true) {
      String message=gameInputStream.readString();
      List<Object> chunks=gameInputStream.readChunks();
      GpgClientMessage gpgClientMessage=new GpgClientMessage(message,chunks);
      handleDataFromFa(gpgClientMessage);
    }
  }
 catch (  IOException e) {
    logger.info("Forged Alliance disconnected from local relay server (" + e.getMessage() + ")");
    close();
  }
}

private void redirectGpgConnection ( ) { try { while ( true ) { String message = gameInputStream . readString ( ) ; List < Object > chunks = gameInputStream . readChunks ( ) ; GpgClientMessage gpgClientMessage = new GpgClientMessage ( message , chunks ) ; handleDataFromFa ( gpgClientMessage ) ; } } catch ( IOException e ) { logger . info ( "Forged Alliance disconnected from local relay server (" + e . getMessage ( ) + ")" ) ; close ( ) ; } }
starts a background task that reads data from fa and redirects it to the given serverwriter .
