|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--MicroTAPAS.MicroActor
|
+--MicroTAPAS.MicroApplicationActor
|
+--MicroTAPAS.mobility.MobilityApplicationActor
|
+--MicroTester.v2_0.MicroTesterBase
| Field Summary | |
TesterInterface |
ai
Instance of own interface |
protected java.awt.Color |
bgColor
Variable to hold the background color of the main application window. |
static boolean |
DEBUG
Determines whether debug info to be sent to debug-server |
RoleSession |
initialRoleSession
The initial role session created when actor is created. |
private boolean |
initiated
Determines if the client is initiated |
private static java.lang.String |
LF
Line-feed |
private ScriptHandler |
sh
The entity to handle execution of commands. |
private static int |
stInitial
Initial actor state value |
private static int |
stInitialized
Initialized actor state value |
private static int |
stUpgrade
Upgrade actor sate value |
protected java.lang.String |
title
Variable to hold the title of the main application window. |
private TesterMainWindow |
tmw
The main application window |
| Fields inherited from class MicroTAPAS.mobility.MobilityApplicationActor |
doRegister, isRegistered |
| Fields inherited from class MicroTAPAS.MicroActor |
bf, context, debug, fh, properties |
| Constructor Summary | |
MicroTesterBase(java.lang.String pTitle,
java.awt.Color pColor)
Constructor |
|
| Method Summary | |
void |
closeWindow()
Close the application window |
void |
createInterface(java.lang.Object pActorInterface)
Re-constructs an actor based on the information stored in its interface. |
java.lang.Object |
getInterface()
Constructs an interface of this this actor, wherein all essential inforamtion about the actor should be stored. |
private void |
makeWindow(java.lang.String title,
java.awt.Color color)
Show the application window |
RequestResult |
mobilityActorEntry(RequestPars rp)
Common entry point for all mobile application actors |
private RequestResult |
stateTransition(RequestPars pRP)
This is the main behaviour definition for this actor. |
void |
term()
Gives this Actor instance a chance to clean up when the DebugWindow is closed; should only be called if no more roleSessions in RoleSessionCollection (except for ActorBehaviourChange). |
RequestResult |
testerControl(java.lang.String cmd,
java.lang.String[] args,
boolean expectSuccess)
Method to control this Tester application. |
private void |
updateInterface()
Updates this actor's interface |
| Methods inherited from class MicroTAPAS.mobility.MobilityApplicationActor |
actorChangeBehaviour, actorChangeBehaviour, actorMove, actorRegister, actorRegisterCancel, applicationActorEntry, cleanUp, control, getMAGAI, getMMGAI, help, init, status |
| Methods inherited from class MicroTAPAS.MicroApplicationActor |
actorBehaviourPlugIn, actorBehaviourPlugOut, ActorCapabilities, actorEntry, ActorPlay, actorPlugIn, actorPlugOut, anyOtherRequestType, closeBF, playChangesPlugIn, playPlugIn, playPlugOut, requestToActor, RoleSessionAction, subscribeCancel, subscribeReport, subscribeRequest |
| Methods inherited from class MicroTAPAS.MicroActor |
findRoleSession, getGAI, start, terminalMove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final boolean DEBUG
private static final java.lang.String LF
private TesterMainWindow tmw
public TesterInterface ai
private boolean initiated
private static final int stInitial
private static final int stInitialized
private static final int stUpgrade
public RoleSession initialRoleSession
protected java.lang.String title
protected java.awt.Color bgColor
private ScriptHandler sh
| Constructor Detail |
public MicroTesterBase(java.lang.String pTitle,
java.awt.Color pColor)
| Method Detail |
public RequestResult mobilityActorEntry(RequestPars rp)
throws java.lang.Exception
mobilityActorEntry in class MobilityApplicationActorrp - TAPAS style request
java.lang.Exception
private RequestResult stateTransition(RequestPars pRP)
throws java.lang.Exception
pRP - Request parameters
java.lang.Exception
public RequestResult testerControl(java.lang.String cmd,
java.lang.String[] args,
boolean expectSuccess)
cmd - The TAPAS command to be executed.args - Command parameters (if any).
private void makeWindow(java.lang.String title,
java.awt.Color color)
public void closeWindow()
public void term()
term in interface MicroActorInterfaceterm in class MobilityApplicationActorpublic void createInterface(java.lang.Object pActorInterface)
createInterface in class MobilityApplicationActorpublic java.lang.Object getInterface()
getInterface in class MobilityApplicationActorprivate void updateInterface()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||