gov.sandia.ccaffeine.dc.user_iface.MVC.event
Interface PythonControllerListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ControllerPython

public interface PythonControllerListener
extends java.util.EventListener

Listens for events from a ControllerPython. When a PythonStub method returns, the PythonStub usually sends the return value to the ControllerPython. The ControllerPython processes the return value. Sometimes the return requires the GUI to be updated; if that is the case, a message is sent the GUI.


Method Summary
 void closeCcaFramework(CloseCcaFrameworkEvent event)
          The cca framework is closed
 void closeComponent(CloseComponentEvent event)
          The cca server has closed a component.
 void connectTwoPorts(CcaConnectTwoPortsEvent event)
          The cca server is connecting two ports.
 void disconnectTwoPorts(CcaDisconnectTwoPortsEvent event)
          The cca server is disconnecting two ports.
 void fixSharedLibrary(FixSharedLibraryEvent event)
          The cca's python server has fixed the shared library problem.
 void instantiateComponent(InstantiateComponentEvent event)
          the cca server is sending this client one instantiated component.
 void launchGoOnAllComponents(LaunchGoOnAllComponentsEvent event)
          The cca server is launching the go command on all components
 void launchGoOnOneComponent(LaunchGoOnOneComponentEvent event)
          The cca server is launching the go command from one component.
 void loadComponent(LoadComponentEvent event)
          The cca's python server has loaded a component.
 void openCcaFramework(OpenCcaFrameworkEvent event)
          The cca's python server has opened the cca framework.
 void receivedCcaConnectionsBetweenTwoPorts(CcaConnectionsBetweenTwoPortsEvent event)
          The cca server is sending us info on all connections that are between two ports.
 void receivedComponentClassNames(ComponentClassNamesEvent event)
          the cca server is sending this client the class names of some components.
 void receivedComponentInstances(ComponentInstancesEvent event)
          The cca server is sending this client some component instances.
 void receivedComponentPropertyValue(CcaComponentPropertyValueEvent event)
          The server wants the GUI to write the current value of a component property to stdout.
 void receivedComponentPropertyValues(CcaComponentPropertyValuesEvent event)
          The server wants the GUI to write the values of all component properties to stdout.
 void receivedPortParameters(CcaPortParametersEvent event)
          The cca server is sending us all of the parameters for a port.
 void removeInstantiatedComponent(RemoveInstantiatedComponentEvent event)
          The cca server is removing an instantiated component.
 void removeInstantiatedComponents(RemoveInstantiatedComponentsEvent event)
          The cca server is removing all instantiated components.
 void setComponentPropertyValue(CcaComponentPropertySetValueEvent event)
          The server has set the value of a component property.
 void setDebugFlag(SetDebugFlagEvent event)
          The serer has set the value of the debug flag.
 void setPathsToCcaComponents(SetPathsToCcaComponentsEvent event)
          The cca's python server has set the paths to the cca components.
 void setPathToCcaComponents(SetPathToCcaComponentsEvent event)
          The cca's python server has set the path to the cca components.
 void setPortParameterValue(CcaPortParameterSetValueEvent event)
          The server has set the value of a port parameter.
 

Method Detail

fixSharedLibrary

void fixSharedLibrary(FixSharedLibraryEvent event)
The cca's python server has fixed the shared library problem.

Parameters:
event - The event that is generated whenever the python server is finished fixing the shared library problem.

openCcaFramework

void openCcaFramework(OpenCcaFrameworkEvent event)
The cca's python server has opened the cca framework.

Parameters:
event - The event that is generated whenever the python server is finished opening the cca framework.

setPathToCcaComponents

void setPathToCcaComponents(SetPathToCcaComponentsEvent event)
The cca's python server has set the path to the cca components.

Parameters:
event - The event that is generated whenever the python server is finished setting the path to the cca components.

setPathsToCcaComponents

void setPathsToCcaComponents(SetPathsToCcaComponentsEvent event)
The cca's python server has set the paths to the cca components.

Parameters:
event - The event that is generated whenever the python server is finished setting the paths to the cca components.

loadComponent

void loadComponent(LoadComponentEvent event)
The cca's python server has loaded a component. The client's controller will instruct the GUI to display the component in a palette.

Parameters:
event - The event that is generated whenever the python server is finished loading a component.

receivedComponentClassNames

void receivedComponentClassNames(ComponentClassNamesEvent event)
the cca server is sending this client the class names of some components.

Parameters:
event - The event that is generated whenever the python server sends the class names of components.

instantiateComponent

void instantiateComponent(InstantiateComponentEvent event)
the cca server is sending this client one instantiated component. The client's controller will instruct the GUI to display the component in an arena(i.e workspace).

Parameters:
event - The event that is generated whenever the python server instantiates a component.

removeInstantiatedComponent

void removeInstantiatedComponent(RemoveInstantiatedComponentEvent event)
The cca server is removing an instantiated component. The client's controller will instruct the GUI to remove the component from the arena (i.e. workspace).

Parameters:
event - The event that is generated whenever the python server removes an instantiated component.

removeInstantiatedComponents

void removeInstantiatedComponents(RemoveInstantiatedComponentsEvent event)
The cca server is removing all instantiated components. The client's controller will instruct the GUI to remove all components from the arena (i.e. workspace).

Parameters:
event - The event that is generated whenever the python server removes all instantiated components.

receivedComponentInstances

void receivedComponentInstances(ComponentInstancesEvent event)
The cca server is sending this client some component instances.


connectTwoPorts

void connectTwoPorts(CcaConnectTwoPortsEvent event)
The cca server is connecting two ports. The client's controller will instruct the GUI to draw a line between the two ports.


receivedCcaConnectionsBetweenTwoPorts

void receivedCcaConnectionsBetweenTwoPorts(CcaConnectionsBetweenTwoPortsEvent event)
The cca server is sending us info on all connections that are between two ports.


launchGoOnOneComponent

void launchGoOnOneComponent(LaunchGoOnOneComponentEvent event)
The cca server is launching the go command from one component.


launchGoOnAllComponents

void launchGoOnAllComponents(LaunchGoOnAllComponentsEvent event)
The cca server is launching the go command on all components


receivedPortParameters

void receivedPortParameters(CcaPortParametersEvent event)
The cca server is sending us all of the parameters for a port. The client's controller will instruct the GUI to display the parameters in a dialog box.


disconnectTwoPorts

void disconnectTwoPorts(CcaDisconnectTwoPortsEvent event)
The cca server is disconnecting two ports. The client's controller will instruct the GUI to remove the line that connects the two ports.


closeComponent

void closeComponent(CloseComponentEvent event)
The cca server has closed a component.


closeCcaFramework

void closeCcaFramework(CloseCcaFrameworkEvent event)
The cca framework is closed


setPortParameterValue

void setPortParameterValue(CcaPortParameterSetValueEvent event)
The server has set the value of a port parameter. The client's controller will instruct the GUI to write the value to stdout.


setComponentPropertyValue

void setComponentPropertyValue(CcaComponentPropertySetValueEvent event)
The server has set the value of a component property. The client's controller will send the value to the GUI.


receivedComponentPropertyValue

void receivedComponentPropertyValue(CcaComponentPropertyValueEvent event)
The server wants the GUI to write the current value of a component property to stdout. The client's controller will forward request to the GUI.


receivedComponentPropertyValues

void receivedComponentPropertyValues(CcaComponentPropertyValuesEvent event)
The server wants the GUI to write the values of all component properties to stdout. The client's controller will forward the request to the GUI.


setDebugFlag

void setDebugFlag(SetDebugFlagEvent event)
The serer has set the value of the debug flag.