FileDocCategorySizeDatePackage
Subsystem.javaAPI DocphoneME MR2 API (J2ME)2051Wed May 02 18:00:10 BST 2007com.sun.midp.suspend

Subsystem

public interface Subsystem
A subsystem that implies special actions on system suspend/resume.

Fields Summary
int
SUSPENDING
Being suspended state.
int
SUSPENDED
Suspended state.
int
RESUMING
Being resumed state.
int
ACTIVE
Active state.
Constructors Summary
Methods Summary
public voidresume()
Perfoms actions required during system resume and moves the subsystem to ACTIVE state.

throws
StateTransitionException if the subsystem cannot be moved to ACTIVE state.

public voidsuspend()
Perfoms actions required during system suspend and moves the subsystem to SUSPENDED state.

throws
StateTransitionException if the subsystem cannot be moved to SUSPENDED state.