| com.sun.midp.main.MIDletControllerEventConsumer
All known Subclasses: com.sun.midp.main.TestMIDletControllerEventProducer, com.sun.midp.main.MIDletProxyList,
MIDletControllerEventConsumer | public interface MIDletControllerEventConsumer (Code) | | This interface is to be implemnted by an event processing target
for MIDlet events on MIDlet controller (i.e. AMS) side.
EventListener for these events must find appropriate
instance of this I/F implementor and call its methods.
TBD: although Consumer I/F is intended to be instance specific,
the implementor of this one shall be assosiated with a MIDletProxyList,
which is a single static object that exists only in AMS isolate ...
However, I/F implementor shall NOT assume
that it is a static singleton object ...
TBD: method and parameter lists of the I/F is preliminary
and is a subject for changes.
TBD: it makes sence replace some handlerXXXEvent method parameters
(isolateId, displayId) by MIdletProxy object that is able to provide
all needed information to process event.
|
Method Summary | |
public void | handleActivateAllEvent() | public void | handleDestroyAllEvent() | public void | handleDisplayBackgroundRequestEvent(int midletIsolateId, int midletDisplayId) | public void | handleDisplayCreateNotifyEvent(int midletIsolateId, int midletDisplayId, String midletClassName) | public void | handleDisplayForegroundRequestEvent(int midletIsolateId, int midletDisplayId, boolean isAlert) | public void | handleDisplayPreemptStartEvent(int midletIsolateId, int midletDisplayId) | public void | handleDisplayPreemptStopEvent(int midletIsolateId, int midletDisplayId) | public void | handleFatalErrorNotifyEvent(int midletIsolateId, int midletDisplayId) | public void | handleMIDletActiveNotifyEvent(int midletSuiteId, String midletClassName) | public void | handleMIDletCreateNotifyEvent(int midletSuiteId, String midletClassName, int midletIsolateId, int midletExternalAppId, String midletDisplayName) | public void | handleMIDletDestroyNotifyEvent(int midletSuiteId, String midletClassName) | public void | handleMIDletDestroyRequestEvent(int midletIsolateId, int midletDisplayId) | public void | handleMIDletForegroundSelectEvent(int onlyFromLaunched) | public void | handleMIDletForegroundTransferEvent(int originMIDletSuiteId, String originMIDletClassName, int targetMIDletSuiteId, String targetMIDletClassName) | public void | handleMIDletPauseNotifyEvent(int midletSuiteId, String midletClassName) | public void | handleMIDletResumeRequestEvent(int midletSuiteId, String midletClassName) Processes a MIDLET_RESUME_REQUEST event. | public void | handleMIDletRsPauseNotifyEvent(int midletSuiteId, String midletClassName) | public void | handleMIDletStartErrorEvent(int midletSuiteId, String midletClassName, int midletExternalAppId, int errorCode, String errorDetails) | public void | handlePauseAllEvent() | public void | handleSetForegroundByNameRequestEvent(int suiteId, String className) |
handleActivateAllEvent | public void handleActivateAllEvent()(Code) | | Processes ACTIVATE_ALL_EVENT
|
handleDestroyAllEvent | public void handleDestroyAllEvent()(Code) | | Processes SHUTDOWN_ALL_EVENT
|
handleDisplayBackgroundRequestEvent | public void handleDisplayBackgroundRequestEvent(int midletIsolateId, int midletDisplayId)(Code) | | Processes BACKGROUND_REQUEST event
TBD: param midletProxy proxy with information about MIDlet
Parameters: midletIsolateId - isolate ID of the sending Display Parameters: midletDisplayId - ID of the sending Display |
handleDisplayCreateNotifyEvent | public void handleDisplayCreateNotifyEvent(int midletIsolateId, int midletDisplayId, String midletClassName)(Code) | | Processes DISPLAY_CREATED_NOTIFICATION event,
parameters - set the display id of a MIDletProxy object instance
Parameters: midletIsolateId - isolate ID of the sending Display Parameters: midletDisplayId - ID of the sending Display Parameters: midletClassName - Class name of the MIDlet |
handleDisplayForegroundRequestEvent | public void handleDisplayForegroundRequestEvent(int midletIsolateId, int midletDisplayId, boolean isAlert)(Code) | | Processes FOREGROUND_REQUEST event
TBD: param midletProxy proxy with information about MIDlet
Parameters: midletIsolateId - isolate ID of the sending Display Parameters: midletDisplayId - ID of the sending Display Parameters: isAlert - true if the current displayable is an Alert |
handleDisplayPreemptStartEvent | public void handleDisplayPreemptStartEvent(int midletIsolateId, int midletDisplayId)(Code) | | Processes PREEMPT_EVENT(true),
parameters - to create MIDletProxy object instance
Parameters: midletIsolateId - isolate ID of the sending Display Parameters: midletDisplayId - ID of the sending Display |
handleDisplayPreemptStopEvent | public void handleDisplayPreemptStopEvent(int midletIsolateId, int midletDisplayId)(Code) | | Processes PREEMPT_EVENT(false),
Parameters: midletIsolateId - isolate ID of the sending Display Parameters: midletDisplayId - ID of the sending Display |
handleFatalErrorNotifyEvent | public void handleFatalErrorNotifyEvent(int midletIsolateId, int midletDisplayId)(Code) | | Processes FATAL_ERROR_NOTIFICATION event
Parameters: midletIsolateId - isolate ID of the sending isolate Parameters: midletDisplayId - ID of the sending Display |
handleMIDletActiveNotifyEvent | public void handleMIDletActiveNotifyEvent(int midletSuiteId, String midletClassName)(Code) | | Processes MIDLET_ACTIVE_NOTIFICATION event
TBD: param midletProxy proxy with information about MIDlet
Parameters: midletSuiteId - ID of the MIDlet suite Parameters: midletClassName - Class name of the MIDlet |
handleMIDletCreateNotifyEvent | public void handleMIDletCreateNotifyEvent(int midletSuiteId, String midletClassName, int midletIsolateId, int midletExternalAppId, String midletDisplayName)(Code) | | Processes MIDLET_CREATED_NOTIFICATION event,
parameters - to create MIDletProxy object instance
Parameters: midletSuiteId - ID of the MIDlet suite Parameters: midletClassName - Class name of the MIDlet Parameters: midletIsolateId - isolate ID of the sending MIDlet Parameters: midletExternalAppId - ID of given by an external applicationmanager Parameters: midletDisplayName - name to show the user |
handleMIDletDestroyNotifyEvent | public void handleMIDletDestroyNotifyEvent(int midletSuiteId, String midletClassName)(Code) | | Processes MIDLET_DESTROYED_NOTIFICATION event
TBD: param midletProxy proxy with information about MIDlet
Parameters: midletSuiteId - ID of the MIDlet suite Parameters: midletClassName - Class name of the MIDlet |
handleMIDletDestroyRequestEvent | public void handleMIDletDestroyRequestEvent(int midletIsolateId, int midletDisplayId)(Code) | | Processes MIDLET_DESTROY_REQUEST event
TBD: param midletProxy proxy with information about MIDlet
Parameters: midletIsolateId - isolate ID of the sending Display Parameters: midletDisplayId - ID of the sending Display |
handleMIDletForegroundSelectEvent | public void handleMIDletForegroundSelectEvent(int onlyFromLaunched)(Code) | | Processes SELECT_FOREGROUND event
|
handleMIDletForegroundTransferEvent | public void handleMIDletForegroundTransferEvent(int originMIDletSuiteId, String originMIDletClassName, int targetMIDletSuiteId, String targetMIDletClassName)(Code) | | Processes FOREGROUND_TRANSFER event
Parameters: originMIDletSuiteId - ID of MIDlet from whichto take forefround ownership away, Parameters: originMIDletClassName - Name of MIDlet from whichto take forefround ownership away Parameters: targetMIDletSuiteId - ID of MIDletto give forefround ownership to, Parameters: targetMIDletClassName - Name of MIDletto give forefround ownership to |
handleMIDletPauseNotifyEvent | public void handleMIDletPauseNotifyEvent(int midletSuiteId, String midletClassName)(Code) | | Processes MIDLET_PAUSED_NOTIFICATION event
TBD: param midletProxy proxy with information about MIDlet
Parameters: midletSuiteId - ID of the MIDlet suite Parameters: midletClassName - Class name of the MIDlet |
handleMIDletResumeRequestEvent | public void handleMIDletResumeRequestEvent(int midletSuiteId, String midletClassName)(Code) | | Processes a MIDLET_RESUME_REQUEST event.
TBD: param midletProxy proxy with information about MIDlet
Parameters: midletSuiteId - ID of the MIDlet suite Parameters: midletClassName - Class name of the MIDlet |
handleMIDletRsPauseNotifyEvent | public void handleMIDletRsPauseNotifyEvent(int midletSuiteId, String midletClassName)(Code) | | Processes MIDLET_RS_PAUSED_NOTIFICATION event
TBD: param midletProxy proxy with information about MIDlet
Parameters: midletSuiteId - ID of the MIDlet suite Parameters: midletClassName - Class name of the MIDlet |
handleMIDletStartErrorEvent | public void handleMIDletStartErrorEvent(int midletSuiteId, String midletClassName, int midletExternalAppId, int errorCode, String errorDetails)(Code) | | Processes MIDLET_START_ERROR event
Parameters: midletSuiteId - ID of the MIDlet suite Parameters: midletClassName - Class name of the MIDlet Parameters: midletExternalAppId - ID of given by an external applicationmanager Parameters: errorCode - start error code Parameters: errorDetails - start error details |
handlePauseAllEvent | public void handlePauseAllEvent()(Code) | | Processes PAUSE_ALL_EVENT
|
handleSetForegroundByNameRequestEvent | public void handleSetForegroundByNameRequestEvent(int suiteId, String className)(Code) | | Processes SET_FOREGROUND_BY_NAME_REQUEST
Parameters: suiteId - MIDlet's suite ID Parameters: className - MIDlet's class name |
|
|