com.planet_ink.coffee_mud.application
Class AutoPlayTester

java.lang.Object
  extended by com.planet_ink.coffee_mud.application.AutoPlayTester

public class AutoPlayTester
extends java.lang.Object

Work in progress.


Nested Class Summary
protected static class AutoPlayTester.JScriptEvent
           
 
Constructor Summary
AutoPlayTester(java.lang.String host, int port, java.lang.String charName, java.lang.String script)
           
 
Method Summary
 java.util.LinkedList<java.lang.String> bufferFill()
           
 java.lang.String getJavaScript(java.lang.String filename)
           
 java.lang.String globalReactionary(java.lang.String s)
           
 boolean login()
           
static void main(java.lang.String[] args)
           
 void run()
           
static int s_int(java.lang.String INT)
           
 void s_sleep(long time)
           
 java.lang.String[] waitFor(java.lang.String regEx, int num)
           
 void writeln(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoPlayTester

public AutoPlayTester(java.lang.String host,
                      int port,
                      java.lang.String charName,
                      java.lang.String script)
Method Detail

bufferFill

public java.util.LinkedList<java.lang.String> bufferFill()
                                                  throws java.io.IOException
Throws:
java.io.IOException

globalReactionary

public java.lang.String globalReactionary(java.lang.String s)

s_sleep

public void s_sleep(long time)

waitFor

public java.lang.String[] waitFor(java.lang.String regEx,
                                  int num)
                           throws java.io.IOException
Throws:
java.io.IOException

writeln

public void writeln(java.lang.String s)
             throws java.io.IOException
Throws:
java.io.IOException

login

public boolean login()

getJavaScript

public java.lang.String getJavaScript(java.lang.String filename)

run

public void run()

s_int

public static final int s_int(java.lang.String INT)

main

public static void main(java.lang.String[] args)