|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--MicroTAPAS.MicroBase
|
+--MicroTAPAS.MicroPNES
This class is the implementation of MicroTAPAS layer MicroPNES, and is largely based on a combination of TAPAS.PNES and TAPAS.PAS
| Field Summary |
| Fields inherited from class MicroTAPAS.MicroBase |
bf |
| Constructor Summary | |
MicroPNES()
Empty constructor so that it can be instantiated after dynamic loading of its class |
|
| Method Summary | |
void |
addBFCommands()
Adds the following command-lines to the BaseFrame |
void |
cleanUp()
Gives this TAPAS instance a chance to clean up when the DebugWindow is closed (i.e this TAPAS node is shutting down). |
RequestResult |
control(java.lang.String command,
java.lang.String[] pars)
Controls this MicroPNES object, invokes its functionality. |
void |
run()
Runs the thread for serving requests to Actors |
RequestResult |
sendToPNES(RequestPars rpars)
Sends a RequestPars to any non-local PNES instance (there can be only one PNES per node) |
void |
starter(java.lang.String[] argv)
Initializes this MicroPNES instance |
Item |
status()
Status report of MicroPNES in Item hierarchy of information elements |
RequestResult |
syncRequestFromActor(RequestPars rpars)
Handles requests from Actor objects |
RequestResult |
syncRequestFromCC(RequestPars rpars)
Handles incomming requests from other nodes. |
RequestResult |
syncRequestFromPNES(RequestPars rpars)
Handles requests from PNES objects |
void |
terminalMove(java.lang.String oldNode,
java.lang.String newNode)
Method to update all relevant properties once a terminal has moved. |
void |
unbind()
Closes down window |
| Methods inherited from class MicroTAPAS.MicroBase |
getGAI, init |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MicroPNES()
throws java.lang.Exception
| Method Detail |
public void starter(java.lang.String[] argv)
throws java.lang.Exception
argv - Command line style arguments from startPaP with
codebase, policy, homeinterface and debugserver.
java.lang.Exception
public RequestResult control(java.lang.String command,
java.lang.String[] pars)
throws java.lang.Exception
control in interface MicroPNESInterfacecommand - the command to be performed
java.lang.Exception
public RequestResult syncRequestFromCC(RequestPars rpars)
throws java.lang.Exception
java.lang.Exception
public RequestResult syncRequestFromPNES(RequestPars rpars)
throws java.lang.Exception
syncRequestFromPNES in interface MicroPNESInterfacerpars - the request
java.lang.Exception
public RequestResult syncRequestFromActor(RequestPars rpars)
throws java.lang.Exception
rpars - the request
java.lang.Exceptionpublic void run()
run in interface java.lang.Runnable
public RequestResult sendToPNES(RequestPars rpars)
throws java.lang.Exception
rpars - the request sent
java.lang.Exception
public void terminalMove(java.lang.String oldNode,
java.lang.String newNode)
terminalMove in class MicroBaseoldNode - The old nodenewNode - The new node
public void unbind()
throws java.lang.Exception
java.lang.Exceptionpublic void cleanUp()
cleanUp in interface ControlInterfacepublic Item status()
status in class MicroBase
public void addBFCommands()
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||