All Packages Class Hierarchy This Package Previous Next Index
Class ajanta.server.StartUp
java.lang.Object
|
+----ajanta.server.StartUp
- public class StartUp
- extends Object
Class StartUp is the first class loaded into an agent's protection domain,
by our classloader. It is then instantiated and its start() method is
invoked. It reads in the agent transfer object from the input stream and
Verfiy once again that the credentails are correctly signed. If verified, set the
agent's environment (context) pointer. Then it execute system-defined entry
protocol of the agent ( agentEntry())followed by application-defined Entry Protocol
( arrive()). Then it finds the method object corresponding to the requested method
to be executed, using reflection and invoke the method. After completion of
requested method executes the system's exit protocol ( agentExit())
Finally, execute the app-defined exit protocol ( depart())
-
StartUp(AgentServer, DDEntry)
-
-
start()
-
StartUp
public StartUp(AgentServer as,
DDEntry dde)
- Parameters:
- as - reference to the host agent server
- dde - DDEntry for the agent
start
public void start()
All Packages Class Hierarchy This Package Previous Next Index