Class AsynchronousProgramExecutor

java.lang.Object
java.lang.Thread
games.stendhal.server.util.AsynchronousProgramExecutor
All Implemented Interfaces:
Runnable

public class AsynchronousProgramExecutor extends Thread
Executes an external program
Author:
hendrik
  • Constructor Details

    • AsynchronousProgramExecutor

      public AsynchronousProgramExecutor(String account, String message)
      Creates a new AsynchronousProgramExecutor
      Parameters:
      account - account to use
      message - message to tweet
  • Method Details

    • run

      public void run()
      Executes the program. Use "start()" for asynchronous access.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread