org.dvb.media
Interface SyncStateChangedEventListener

All Superinterfaces:
java.util.EventListener

public interface SyncStateChangedEventListener
extends java.util.EventListener

This listener interface is for receiving synchronization change events among JMF Players. The class that is interested in management of synchronization among JMF Players is registered with MasterSlaveSyncLinkageControl object using addSyncStateChangedEventListener method. The event is generated when synchronization status among JMF Players is changed. The relevant method in the listener object is then invoked, and the SyncStateChangedEvent is passed to it.


Method Summary
 void inSync(SyncStateChangedEvent e)
          Invoked when any combination of master and slave Players are synchronized.
 void outOfSync(SyncStateChangedEvent e)
          Invoked when any combination of master and slave Players are desynchronized.
 void unSynchronizable(SyncStateChangedEvent e)
          Invoked when synchronization is never established.
 

Method Detail

inSync

void inSync(SyncStateChangedEvent e)
Invoked when any combination of master and slave Players are synchronized.


outOfSync

void outOfSync(SyncStateChangedEvent e)
Invoked when any combination of master and slave Players are desynchronized.


unSynchronizable

void unSynchronizable(SyncStateChangedEvent e)
Invoked when synchronization is never established.