code: @Override
    public void onNext(final RemoteMessage<EvaluatorShimProtocol.EvaluatorShimStatusProto> statusMessage) {
  
      EvaluatorShimProtocol.EvaluatorShimStatusProto message = statusMessage.getMessage();
      String containerId = message.getContainerId();
      String remoteId = message.getRemoteIdentifier();
  
      LOG.log(Level.INFO, "Got a status message from evaluator shim = {0} with containerId = {1} and status = {2}.",
          new String[]{remoteId, containerId, message.getStatus().toString()});
  
      if (message.getStatus() != EvaluatorShimProtocol.EvaluatorShimStatus.ONLINE) {
        LOG.log(Level.SEVERE, "Unexpected status returned from the evaluator shim: {0}. Ignoring the message.",
            message.getStatus().toString());
        return;
      }
  
      this.onResourceAllocated(containerId, remoteId, Optional.<CloudTask>empty());
    }
docs: This method is invoked by the RemoteManager when a message from the evaluator shim is received.
  
  @param statusMessage the message from the evaluator shim indicating that the shim has started and is ready to
  start the evaluator process.