Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

javax.media
Class DeallocateEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.media.ControllerEvent
          extended byjavax.media.TransitionEvent
              extended byjavax.media.StopEvent
                  extended byjavax.media.DeallocateEvent
All Implemented Interfaces:
MediaEvent, java.io.Serializable

public class DeallocateEvent
extends StopEvent

A DeallocateEvent is posted as an acknowledgement of the invocation of the deallocate method. It implies that the scarce resources associated with this Controller are no longer available and must be reacquired.

A DeallocateEvent can be posted at any time regardless of the Controller's previous or current state. DeallocateEvent is a StopEvent because if the Controller is in the Started state when the event is posted, it transitions to one of the Stopped states.

See Also:
Controller, ControllerListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DeallocateEvent(Controller from, int previous, int current, int target, Time mediaTime)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeallocateEvent

public DeallocateEvent(Controller from,
                       int previous,
                       int current,
                       int target,
                       Time mediaTime)

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.