Interface marimba.channel.Application
All Packages Class Hierarchy This Package Previous Next Index
Interface marimba.channel.Application
- public interface Application
- extends Object
This is the Application interface for the marimba Tuner. A class
which implements this interface can act as an application in the
context of the tuner.
- Version:
- 1.8, 11/02/96
- Author:
- Arthur van Hoff, Maurice Balick
-
DATA_AVAILABLE_EVENT
- An event with this ID is posted to the Application when new
application data is available for installation.
-
DATA_INSTALLED_EVENT
-
-
DATA_NOTIFY_EVENT
-
-
DATA_UPDATE_EVENT
-
-
handleEvent(Event)
- Handle an event.
-
setContext(ApplicationContext)
- This methods is called by the system to initialize the ChannelApplication.
-
start()
- Start the application.
-
stop()
- Stop the applicaton.
DATA_UPDATE_EVENT
public final static int DATA_UPDATE_EVENT
DATA_AVAILABLE_EVENT
public final static int DATA_AVAILABLE_EVENT
- An event with this ID is posted to the Application when new
application data is available for installation. The application
can respond with a call requestInstall() on the ChannelApplicationContext
to install the newly arrived data.
DATA_INSTALLED_EVENT
public final static int DATA_INSTALLED_EVENT
DATA_NOTIFY_EVENT
public final static int DATA_NOTIFY_EVENT
setContext
public abstract void setContext(ApplicationContext context)
- This methods is called by the system to initialize the ChannelApplication.
- Parameters:
- context - a lot of information about this channel including
simple utilities to help implement this interface.
start
public abstract void start()
- Start the application. This method is called by the
tuner to notify that the application is started.
stop
public abstract void stop()
- Stop the applicaton. This method is called by the tuner
to notify the application that it will be killed. To stop
an application call stop() in the ChannelApplicationContext.
handleEvent
public abstract boolean handleEvent(Event evt)
- Handle an event. Events are posted to the application to
notify applications of changes in its status.
All Packages Class Hierarchy This Package Previous Next Index