All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.dvr.RecordingAlertEvent Maven / Gradle / Ivy

The newest version!
package org.ocap.dvr;

import org.ocap.shared.dvr.RecordingRequest;
import java.util.EventObject;

/**
 * Event notifying that a scheduled recording is about to occur. This event
 * is triggered for LeafRecordingRequests in pending states.
 */
public class RecordingAlertEvent extends EventObject
{
    /**
     * Constructs the event.
     *
     * @param source The RecordingRequest that
     * caused the event.
     */
    public RecordingAlertEvent(RecordingRequest source)
    {
        super(source);
    }

    /**
     * Returns the RecordingRequest that caused the event.
     *
     * @return The RecordingRequest that caused the event.
     */
    public RecordingRequest getRecordingRequest()
    {
        return(RecordingRequest)super.getSource();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy