Class RemoteService.context.ClientFrame
All Packages Class Hierarchy This Package Previous Next Index
Class RemoteService.context.ClientFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----JavaAgent.context.AgentFrame
|
+----RemoteService.context.RSFrame
|
+----RemoteService.context.ClientFrame
- public class ClientFrame
- extends RSFrame
Subclass of RSFrame which provides an interface for a ClientAgent.
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.
-
Client
-
-
GetAvailable
-
-
ClientFrame(AgentContext, String)
- Constructor for an ClientFrame.
-
action(Event, Object)
- Called when an event happens in the ClientFrame.
-
doubleClickAction(int)
- Called when one of the Service icons is double-clicked, must be
overridden.
-
GetAvailableAction()
- Sends a message to the ServiceBroker requesting a list of currently
available services.
Client
protected Menu Client
GetAvailable
protected MenuItem GetAvailable
ClientFrame
public ClientFrame(AgentContext context,
String title)
- Constructor for an ClientFrame. Creates GUI components.
- Parameters:
- context - AgentContext which created this gui.
- title - Title for the frame.
action
public boolean action(Event evt,
Object arg)
- Called when an event happens in the ClientFrame. Used to take action
on menu bar selections.
- Parameters:
- evt - The event which triggered the method call.
- arg - Who called the method. For buttons, string name of button.
- Overrides:
- action in class RSFrame
GetAvailableAction
protected void GetAvailableAction()
- Sends a message to the ServiceBroker requesting a list of currently
available services.
doubleClickAction
protected void doubleClickAction(int index)
- Called when one of the Service icons is double-clicked, must be
overridden.
- Parameters:
- index - Index of the selected icon.
- Overrides:
- doubleClickAction in class RSFrame
All Packages Class Hierarchy This Package Previous Next Index