|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.media.MediaEventDispatcher
public class MediaEventDispatcher
This is a utility class that can be used by objects that support constrained properties. You can use an instance of this class as a member field of your bean and delegate various work to it.
| Constructor Summary | |
|---|---|
MediaEventDispatcher()
|
|
| Method Summary | |
|---|---|
protected void |
addMediaListener(MediaListener listener)
Add a mediaListener to the listener list. |
protected void |
fireMediaServiceStatusChanged()
Alert all media listeners that status has changed. |
protected void |
fireReceivedMediaStream(MediaEvent mediaEvent)
Alert all media listeners that we're receiving a media stream. |
protected void |
removeMediaListener(MediaListener listener)
Remove a MediaListener from the listener list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaEventDispatcher()
| Method Detail |
|---|
protected void addMediaListener(MediaListener listener)
listener - The MediaListener to be addedprotected void removeMediaListener(MediaListener listener)
listener - The MediaListener to be removedprotected void fireReceivedMediaStream(MediaEvent mediaEvent)
mediaEvent - the source of the eventprotected void fireMediaServiceStatusChanged()
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||