|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.iso.mpeg.mpegj.resource.CapabilityManager
[Adaptive Audio-Visual Session Format ISO/IEC JTC1/SC29/WG11 - MPEG97/2566]
A CapabilityManager monitors latency and bandwidth of network connections and manages peripheral devices.
Functionality:
The CapabilityManager class handles capability through the CapabilityManager. The
CapabilityManager offers a simple and generic way to handle capabilities.
The CapabilityManager implements some interfaces in order to simplify developers work
when basic capabilities need to be managed. [An interface incapsulates
a coherent set of services and attributes, i.e. a Role, without exlicitly binding
this function to that of any particular object or code].
The interfaces are:
Fields inherited from interface org.iso.mpeg.mpegj.resource.TerminalProfileManager |
AudioProfile_Main,
AudioProfile_Scalable,
AudioProfile_Speech,
AudioProfile_Synthesis,
Profile_Audio,
Profile_Complete,
Profile_Complete2D,
Profile_Simple2D,
VisualProfile_BasicAnimatedTexture,
VisualProfile_Core,
VisualProfile_Hybrid,
VisualProfile_Main,
VisualProfile_Nbit,
VisualProfile_ScaleableTexture,
VisualProfile_Simple,
VisualProfile_SimpleFA,
VisualProfile_SimpleScalable |
Constructor Summary | |
CapabilityManager()
|
Method Summary | |
void |
deleteObserver(java.util.Observer objToDeregister)
deleteObserver |
java.lang.String[] |
getAudioDrivers()
Terminal Audio Enc/Dec |
short |
getAudioProfile()
This method returns the supported audio profile |
int |
getCPUSpeed(int cpuIdx)
Terminal CPU Speed |
java.lang.String |
getCPUType(int cpuIdx)
Terminal CPU type (Pentium for instance) |
int |
getDisplayColorDepth()
Terminal Display Color Depth |
java.lang.String |
getDisplayType()
Terminal Display Type (e.g. |
long |
getFreeApplicationMemory()
Free application memory (RAM) |
long |
getFreeTerminalMemory()
Terminal free memory (RAM) |
java.lang.String |
getKeyboardType()
Terminal Keyboard Type |
java.lang.String[] |
getMIDIDrivers()
Terminal MIDI Enc/Dec |
java.lang.String |
getModemType()
Terminal modem type |
java.lang.String |
getMouseType()
Terminal Mouse Type |
long |
getNetworkLoad()
Terminal Network Load |
java.lang.String |
getNetworkType()
Terminal Network Type |
int |
getNumCPUs()
Number of Terminal CPUs |
int |
getNumParallelPorts()
Terminal parallel IEEE-1284 port(s) |
int |
getNumSerialPorts()
Terminal serial RS-232 port(s) |
java.lang.String |
getOSLanguage()
Terminal OS language |
java.lang.String |
getOSType()
Terminal OS type (for instance JavaPC, Windows, MacOS) |
short |
getSceneDescriptionProfile()
Scene Description Profile |
short |
getScreenDepth()
Terminal screen depth |
short |
getScreenResolution()
Terminal screen resolution |
java.awt.Dimension |
getScreenSize()
Terminal screen size |
java.lang.String |
getTerminalArchitecture()
Terminal architecture (for instance Alpha, x86) |
long |
getTerminalLoad()
Terminal CPU Load |
long |
getTotalApplicationMemory()
Total application memory (RAM) |
long |
getTotalTerminalMemory()
Terminal total memory (RAM) |
java.lang.String[] |
getVideoDrivers()
Terminal Video Enc/Dec |
short |
getVisualProfile()
This method returns the supported visual profile |
void |
notifyApplicationFreeMemory(long freeApplicationMemory,
java.util.Observer objToNotify)
notifyApplicationFreeMemory |
void |
notifyTerminalFreeMemory(long freeTerminalMemory,
java.util.Observer objToNotify)
notifyTerminalFreeMemory |
void |
notifyTerminalLoad(long cpuLoadPercentage,
java.util.Observer objToNotify)
notifyTerminalLoad |
void |
notifyTerminalNetworkLoad(long nwLoadPercentage,
java.util.Observer objToNotify)
notifyTerminalNetworkLoad |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public CapabilityManager()
Method Detail |
public void notifyApplicationFreeMemory(long freeApplicationMemory, java.util.Observer objToNotify) throws java.lang.IllegalArgumentException
freeApplicationMemory
- application memory thresholdobjToNotify
- object to notify when the specified threshold is exceededpublic void notifyTerminalFreeMemory(long freeTerminalMemory, java.util.Observer objToNotify) throws java.lang.IllegalArgumentException
freeTerminalMemory
- terminal memory thresholdobjToNotify
- object to notify when the specified threshold is exceededpublic void notifyTerminalLoad(long cpuLoadPercentage, java.util.Observer objToNotify) throws java.lang.IllegalArgumentException
cpuLoadPercentage
- terminal CPU load percentage thresholdobjToNotify
- object to notify when the specified threshold is exceededpublic void notifyTerminalNetworkLoad(long nwLoadPercentage, java.util.Observer objToNotify) throws java.lang.IllegalArgumentException
nwLoadPercentage
- network load percentage thresholdobjToNotify
- object to notify when the specified threshold is exceededpublic void deleteObserver(java.util.Observer objToDeregister)
objToDeregister
- observer object previously registered using registerXXX methodspublic int getNumCPUs()
public int getCPUSpeed(int cpuIdx)
public java.lang.String getCPUType(int cpuIdx) throws java.lang.IllegalArgumentException
idx
- the index of the CPU (idx >= 0)public java.lang.String getMouseType()
public int getDisplayColorDepth()
public java.lang.String getDisplayType()
public java.lang.String getKeyboardType()
public java.lang.String getNetworkType()
public int getNumParallelPorts()
public int getNumSerialPorts()
public java.awt.Dimension getScreenSize()
public short getScreenDepth()
public short getScreenResolution()
public java.lang.String getOSLanguage()
public java.lang.String getOSType()
public java.lang.String getTerminalArchitecture()
public java.lang.String[] getAudioDrivers()
public java.lang.String[] getMIDIDrivers()
public java.lang.String[] getVideoDrivers()
public java.lang.String getModemType()
public long getFreeTerminalMemory()
public long getTotalTerminalMemory()
public long getTotalApplicationMemory()
public long getFreeApplicationMemory()
public long getTerminalLoad()
public long getNetworkLoad()
public short getSceneDescriptionProfile()
public short getVisualProfile()
public short getAudioProfile()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |