stella.net
Class TelescopeClient.Test
java.lang.Object
stella.net.TelescopeClient.Test
- Enclosing class:
- TelescopeClient
public static final class TelescopeClient.Test
- extends Object
For simple testing of the telescope client functionality. A random
telescope command is generated and sent to the server.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TelescopeClient.Test
public TelescopeClient.Test()
generateRandomCommand
private static final CommandEvent generateRandomCommand(Object src,
int random)
- Generates one random command out of a list of possible command. This
part is hard-coded but only meant for testing.
main
public static void main(String[] arg)
throws RemoteException
- For testing. First command line argument is the name of the receiver.
If the receiver was successfully register test commands are sent to
it. Between individual command this thread sleeps for an arbitrary
period of up to 10 sec.
- Throws:
RemoteException