@Override public String processCommand(final CommandRequest command){
  assertState(isConnected(),"Gfsh must be connected to the GemFire Manager in order to process commands remotely!");
  try {
    ResponseEntity<String> response=send(createHttpRequest(command),String.class,command.getParameters());
    return response.getBody();
  }
 catch (  RestApiCallForCommandNotFoundException e) {
    return simpleProcessCommand(command,e);
  }
catch (  ResourceAccessException e) {
    return handleResourceAccessException(e);
  }
}

@ Override public String processCommand ( final CommandRequest command ) { assertState ( isConnected ( ) , "Gfsh must be connected to the GemFire Manager in order to process commands remotely!" ) ; try { ResponseEntity < String > response = send ( createHttpRequest ( command ) , String . class , command . getParameters ( ) ) ; return response . getBody ( ) ; } catch ( RestApiCallForCommandNotFoundException e ) { return simpleProcessCommand ( command , e ) ; } catch ( ResourceAccessException e ) { return handleResourceAccessException ( e ) ; } }
processes the requested command . sends the command to the gemfire manager for remote processing ( execution ) .
