|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PlaceEventMediaStatusChanged
This event occurs upon a status change in the monitored place's media.
This event is propagated in the PlaceListener.handlePlaceEvent(com.genesyslab.ail.event.PlaceEvent) method, as
shown in the following code snippet.
public class SimplePlaceExample implements PlaceListener
{
//...
public void handlePlaceEvent(PlaceEvent event)
{
if( event instanceof PlaceEventMediaStatusChanged) {
PlaceEventMediaStatusChanged evt = (PlaceEventMediaStatusChanged) event;
//Managing the event information
//...
}
}
//...
}
| Method Summary | |
|---|---|
Media |
getMedia()
Returns the media whose status changed. |
Media.Reason |
getReason()
Returns the reason of this event. |
Media.Status |
getStatus()
Returns the new status of the media. |
java.lang.String |
getStatusReason()
Returns the reason of the status of the media. |
java.lang.String |
getStatusReasonDescription()
Returns the description of the reason of the status of the media. |
| Methods inherited from interface com.genesyslab.ail.event.PlaceEvent |
|---|
getPlace |
| Methods inherited from interface com.genesyslab.ail.event.ObjectEvent |
|---|
getSource |
| Method Detail |
|---|
Media getMedia()
Media.Status getStatus()
Media.Reason getReason()
java.lang.String getStatusReason()
java.lang.String getStatusReasonDescription()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||