StopByResourceLossEvent

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.dvb.media
Class StopByResourceLossEvent

    java.lang.Object
      java.util.EventObject
          javax.media.ControllerEvent
              javax.media.TransitionEvent
                  javax.media.StopEvent
                      org.dvb.media.StopByResourceLossEvent

All Implemented Interfaces:
  Serializable, MediaEvent

    public class StopByResourceLossEvent

extends StopEvent

This event is generated whenever presentation of a stream stops because the player has lost so many resources that it cannot continue. Generation of this event informs the application that the Player is no longer presenting any content.

Since:
  MHP 1.0.1
See Also:
  Serialized Form

Constructor Summary
`StopByResourceLossEvent(Controller source, int previous, int current, int target, MediaLocator stream)` Construct an event.

Method Summary
`MediaLocator` | `getStream()` This method returns the stream which was being presented

Methods inherited from class javax.media.StopEvent
`getMediaTime`

Methods inherited from class javax.media.TransitionEvent
`getCurrentState, getPreviousState, getTargetState`

Methods inherited from class javax.media.ControllerEvent
`getSource, getSourceController`

Methods inherited from class java.util.EventObject
`toString`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### StopByResourceLossEvent

    public StopByResourceLossEvent(Controller source,
                                   int previous,
                                   int current,
                                   int target,
                                   MediaLocator stream)

  Construct an event.

  Parameters:
    `source` - the controller which was presenting the service
    `stream` - the locator of the stream which was being presented
    `previous` - the previous state of the controller
    `current` - the current state of the controller
    `target` - the target state of the controller

Method Detail

### getStream

    public MediaLocator getStream()

  This method returns the stream which was being presented

  Returns:
    the locator for the stream concerned

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD