org.iso.mpeg.mpegj
Class MpegjTerminal

java.lang.Object
  |
  +--org.iso.mpeg.mpegj.MpegjTerminal

public class MpegjTerminal
extends java.lang.Object

MPEG-J Terminal class. This class provides the information about the managers that are implemented in the terminal. Each applet or application instantiates a new environment once it is loaded.


Constructor Summary
MpegjTerminal()
          Constructor for the MpegjTerminal.
MpegjTerminal(MPEGlet mpeglet)
          Constructor for the MpegjTerminal.
 
Method Summary
 ObjectDescriptor getinitOD()
          Returns initOD associated with the scene
 NetworkManager getNetworkManager()
          Obtain the NetworkManager used to get all the information related to a DMIF session and to enable/disable DMIF channels.
 java.util.Vector getODs(int initOD)
          Returns the vector of ODs associated to that scene that were received by the OD stream.
 ResourceManager getResourceManager()
          Obtain the ResourceManager.
 SceneManager getSceneManager()
          Obtain the SceneManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MpegjTerminal

public MpegjTerminal()
Constructor for the MpegjTerminal. This constructor may only be used by local applications.
Throws:
java.lang.SecurityException - Thrown if this method is called by a non-local application.

MpegjTerminal

public MpegjTerminal(MPEGlet mpeglet)
Constructor for the MpegjTerminal. This constructor may be called by an MPEGlet to indicate the name scope in which this MPEG-J Terminal object should operate.
Parameters:
mpeglet - the MPEGlet that identifies the name scope to use.
Throws:
java.lang.SecurityException - Thrown if this method is called by an unrecognized caller.
Method Detail

getResourceManager

public ResourceManager getResourceManager()
                                   throws ResourceManagerNotFoundException
Obtain the ResourceManager.
Returns:
the ResourceManager if available.
Throws:
ResourceManagerNotFoundException - Thrown when the ResourceManager is not available.

getSceneManager

public SceneManager getSceneManager()
                             throws SceneManagerNotFoundException
Obtain the SceneManager.
Returns:
the SceneManager if available.
Throws:
SceneManagerNotFoundException - Thrown when the SceneManager is not available.

getNetworkManager

public NetworkManager getNetworkManager()
                                 throws NetworkManagerNotFoundException
Obtain the NetworkManager used to get all the information related to a DMIF session and to enable/disable DMIF channels.
Returns:
the NetworkManager if available.
Throws:
NetworkManagerNotFoundException - Thrown when the NetworkManager is not available.

getinitOD

public ObjectDescriptor getinitOD()
Returns initOD associated with the scene
Returns:
ObjectDescriptor

getODs

public java.util.Vector getODs(int initOD)
Returns the vector of ODs associated to that scene that were received by the OD stream.
Parameters:
int - initOD
Returns:
vector of Object Descriptors