// ************************************************************************ // $Id: MonitorControl.java 561 2005-07-11 20:09:17Z mdeters $ // ************************************************************************ // // jRate // // Copyright (C) 2001-2005 by Angelo Corsaro. // // All Rights Reserved. // // Permission to use, copy, modify, and distribute this software and // its documentation for any purpose is hereby granted without fee, // provided that the above copyright notice appear in all copies and // that both that copyright notice and this permission notice appear // in supporting documentation. I don't make any representations // about the suitability of this software for any purpose. It is // provided "as is" without express or implied warranty. // // // ************************************************************************* // // ************************************************************************* package javax.realtime; /** * Abstract class representing different monitor control strategies. * * @author Morgan Deters * @version 1.0 * @since 0.3.8 */ public class MonitorControl { /** * Construct a {@link MonitorControl}. */ public MonitorControl() {} /** * Returns the system-wide default monitor control strategy. * * @return the system-wide default monitor control strategy */ public static MonitorControl getMonitorControl() { throw new UnimplementedFeatureError(); } /** * Returns the monitor control strategy in use for the given * object. * * @return the monitor control strategy in use for the given * object */ public static MonitorControl getMonitorControl(Object monitor) { throw new UnimplementedFeatureError(); } /** * Sets the system-wide default monitor control strategy. * * @param policy the monitor control strategy to which to set the * system-wide default */ public static void setMonitorControl(MonitorControl policy) { throw new UnimplementedFeatureError(); } /** * Sets the monitor control strategy in use for a specific object. * * @param monitor the object for which to change the monitor * control strategy object * @param monCtl the monitor control strategy to use for the given * object */ public static void getMonitorControl(Object monitor, MonitorControl monCtl) { throw new UnimplementedFeatureError(); } }