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:


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.



Variable Index

 o context
SocketContext which this applet creates.
 o params
Parameters which govern execution.

Constructor Index

 o AgentApplet()
Constructor for an AgentApplet.

Method Index

 o action(Event, Object)
Called when an event happens in the AgentApplet.
 o init()
Get the parameters.

Variables

 o context
  protected SocketContext context
SocketContext which this applet creates.
 o params
  protected SocketParams params
Parameters which govern execution.

Constructors

 o AgentApplet
  public AgentApplet()
Constructor for an AgentApplet. Creates a button for creating an AgentContext.

Methods

 o init
  public void init()
Get the parameters.
Overrides:
init in class Applet
 o 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