예제 #1
0
  public PrintStream getRobotOutputStream() {
    Thread c = Thread.currentThread();

    if (isSafeThread(c)) {
      return null;
    }

    IHostedThread robotProxy = getLoadedOrLoadingRobotProxy(c);

    return (robotProxy != null) ? robotProxy.getOut() : null;
  }