|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectMUM.repository.client.OnlyVideoClientSessionManagerBase
This class implements a client session manager for a session composed by a video stream
| Field Summary |
| Fields inherited from interface MUM.data.ISessionManager |
DESTROYED, INITIALIZING, NOT_CONSISTENT, PLAYING, STOPPED |
| Constructor Summary | |
OnlyVideoClientSessionManagerBase()
Creates new OnlyVideoClientSessionManagerBase |
|
| Method Summary | |
boolean |
destroySession()
Destroys the client and all the agents. |
java.lang.String |
getState()
returns the current status of the session |
void |
init(java.io.PrintStream out,
IMUMBaseFacilities factory,
ComponentInfo info,
java.lang.Object[] parameters)
This is the method used for the initialization of the IClientSessionManager. |
void |
initAndActivateQoSManager(java.lang.String uniqueId,
IQoSManagerListener qosListener,
ICPUStatusNotifier notifier)
This method is used to instantiate and activate the QoS Manager for this client. |
void |
run()
The run method |
boolean |
setAtTimeSession(javax.media.Time t)
Sets the session at a certain point |
boolean |
startSession()
Starts the session |
boolean |
stopSession()
Stops the session |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OnlyVideoClientSessionManagerBase()
| Method Detail |
public void init(java.io.PrintStream out,
IMUMBaseFacilities factory,
ComponentInfo info,
java.lang.Object[] parameters)
throws InitializationException
init in interface ISessionManagerout - a PrintStream for debug messages, if you don't want to print, pass new PrintStream( new NullOutputStream() ) (see SOMA.Explorer for NullOutputStream)factory - this is a IMUMFactory used to create new instances of objects, which has to be used in the distribute architectureinfo - this array contains all the component info of the components that are connected to this session manager.
As the distributed architecture is a tree, each session manager is connected to [1, N] components, depending on how many flows
compone the sessionparameters - initialization parameters for the objects the session manager uses to implement communication protocols and
streaming/visualization of the different multimedia objects
InitializationExceptionpublic boolean startSession()
startSession in interface ISessionManagerpublic boolean stopSession()
stopSession in interface ISessionManagerpublic boolean setAtTimeSession(javax.media.Time t)
setAtTimeSession in interface ISessionManagerpublic boolean destroySession()
destroySession in interface ISessionManager
public void initAndActivateQoSManager(java.lang.String uniqueId,
IQoSManagerListener qosListener,
ICPUStatusNotifier notifier)
throws InitializationException
initAndActivateQoSManager in interface IClientSessionManagerInitializationExceptionpublic void run()
run in interface java.lang.Runnablepublic java.lang.String getState()
getState in interface ISessionManager
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||