Class JavaAgent.context.AgentApplet
All Packages Class Hierarchy This Package Previous Next Index
Class JavaAgent.context.AgentApplet
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----JavaAgent.context.AgentApplet
- public class AgentApplet
- extends Applet
AgentApplet is a subclass of Applet which creates a SocketContext object.
All of the constructor args for SocketContext must be provided as
applet parameters. The following parameters are supported:
- "init_file_url"
- ["shared_url"]
- ["shared_dir"]
- ["working_dir"]
- ["gui"]
- ["port"]
- ["name"]
Copyright (c) 1995, H. Robert Frost, Stanford University.
All rights reserved.
Copyright (c) 1996, H. Robert Frost, Enterprise Integration Technologies,
Inc. All rights reserved.
RESTRICTED RIGHTS LEGEND: Use, duplication or disclosure by the
Government is subject to restrictions as set forth in
subparagraph(c)(1)(ii) of the Rights in Technical Data and Computer
Software clause at DFARS 252.227-7013 and in similar clauses in the
FAR and NASA FAR supplement.
This software is bound by the terms and conditions listed in the
attached LICENSE file.
-
context
- SocketContext which this applet creates.
-
params
- Parameters which govern execution.
-
AgentApplet()
- Constructor for an AgentApplet.
-
action(Event, Object)
- Called when an event happens in the AgentApplet.
-
init()
- Get the parameters.
context
protected SocketContext context
- SocketContext which this applet creates.
params
protected SocketParams params
- Parameters which govern execution.
AgentApplet
public AgentApplet()
- Constructor for an AgentApplet. Creates a button for creating an
AgentContext.
init
public void init()
- Get the parameters.
- Overrides:
- init in class Applet
action
public boolean action(Event evt,
Object arg)
- Called when an event happens in the AgentApplet.
- Parameters:
- evt - The event which triggered the method call.
- arg - Who called the method. For buttons, string name of button.
- Overrides:
- action in class Component
All Packages Class Hierarchy This Package Previous Next Index