public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Delete HostObserver; unused.
@ 2008-03-17 17:50 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2008-03-17 17:50 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  d272f9c38573bfe8c0d0bf54d114e3be7f3cf16c (commit)
      from  d8919fbb113772ebc987e74061e838879556d9c4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit d272f9c38573bfe8c0d0bf54d114e3be7f3cf16c
Author: Andrew Cagney <cagney@redhat.com>
Date:   Mon Mar 17 13:37:11 2008 -0400

    Delete HostObserver; unused.
    
    frysk-core/frysk/proc/ChangeLog
    2008-03-17  Andrew Cagney  <cagney@redhat.com>
    
    	* HostObserver.java: Delete.

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/proc/ChangeLog         |    2 +
 frysk-core/frysk/proc/HostObserver.java |  117 -------------------------------
 2 files changed, 2 insertions(+), 117 deletions(-)
 delete mode 100644 frysk-core/frysk/proc/HostObserver.java

First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/ChangeLog b/frysk-core/frysk/proc/ChangeLog
index d39e838..8099464 100644
--- a/frysk-core/frysk/proc/ChangeLog
+++ b/frysk-core/frysk/proc/ChangeLog
@@ -1,5 +1,7 @@
 2008-03-17  Andrew Cagney  <cagney@redhat.com>
 
+	* HostObserver.java: Delete.
+
 	* TaskObserver.java (Attached): Move to ...
 	* TaskAttachedObserverXXX.java: ... here.
 	* StressAttachDetachSignaledTask.java: Ditto.
diff --git a/frysk-core/frysk/proc/HostObserver.java b/frysk-core/frysk/proc/HostObserver.java
deleted file mode 100644
index ef3b478..0000000
--- a/frysk-core/frysk/proc/HostObserver.java
+++ /dev/null
@@ -1,117 +0,0 @@
-// This file is part of the program FRYSK.
-//
-// Copyright 2006, Red Hat Inc.
-//
-// FRYSK is free software; you can redistribute it and/or modify it
-// under the terms of the GNU General Public License as published by
-// the Free Software Foundation; version 2 of the License.
-//
-// FRYSK is distributed in the hope that it will be useful, but
-// WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// General Public License for more details.
-// 
-// You should have received a copy of the GNU General Public License
-// along with FRYSK; if not, write to the Free Software Foundation,
-// Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-// 
-// In addition, as a special exception, Red Hat, Inc. gives You the
-// additional right to link the code of FRYSK with code not covered
-// under the GNU General Public License ("Non-GPL Code") and to
-// distribute linked combinations including the two, subject to the
-// limitations in this paragraph. Non-GPL Code permitted under this
-// exception must only link to the code of FRYSK through those well
-// defined interfaces identified in the file named EXCEPTION found in
-// the source code files (the "Approved Interfaces"). The files of
-// Non-GPL Code may instantiate templates or use macros or inline
-// functions from the Approved Interfaces without causing the
-// resulting work to be covered by the GNU General Public
-// License. Only Red Hat, Inc. may make changes or additions to the
-// list of Approved Interfaces. You must obey the GNU General Public
-// License in all respects for all of the FRYSK code and other code
-// used in conjunction with FRYSK except the Non-GPL Code covered by
-// this exception. If you modify this file, you may extend this
-// exception to your version of the file, but you are not obligated to
-// do so. If you do not wish to provide this exception without
-// modification, you must delete this exception statement from your
-// version and license this file solely under the GPL without
-// exception.
-
-package frysk.proc;
-
-/**
- * Observable events generated by a Host.
- */
-
-public interface HostObserver
-    extends Observer
-{
-    /**
-     * Notify any observers that a refresh (or synchronize) operation
-     * is being performed.
-     *
-     * Frysk tracks un-attached processes by occasionally refreshing
-     * its model from <tt>/proc</tt>.  This notifies the the observer
-     * of both the start and end of such an operation.  Observers may
-     * want to disable gui refresh during the refresh period.
-     *
-     * XXX: This is a draft interface, and currently is not
-     * implemented.
-     */
-    public interface Refresh
-	extends HostObserver
-    {
-	/**
-	 * A synchronize operation is starting.
-	 */
-	void notifyStart ();
-	/**
-	 * A synchyronize operation is ending.
-	 */
-	void notifyEnd ();
-	/**
-	 * This observer's prefered sync rate.  Of course, if other
-	 * observers request a shorter refresh rate, that will instead
-	 * be used.
-	 */
-	long refreshRate ();
-	/**
-	 * Should the Task database also be refreshed (Strongly
-	 * recommended against; very expensive).
-	 */
-	boolean refreskTaskDb ();
-    }
-
-    /**
-     * Notify any observers of changes to both the Proc and Task
-     * databases.
-     *
-     * The Host maintaints databases of all known Host and Task
-     * objects.  These databases are updated as tasks and processes
-     * are discovered or lost; be it through a refresh or more direct
-     * tracking of a task.
-     *
-     * XXX: This is a draft interface, and currently is not
-     * implemented.
-     */
-    public interface Db
-	extends HostObserver
-    {
-	/**
-	 * A Process has been added to the database.
-	 */
-	void notifyProcAdded (Proc proc);
-	/**
-	 * A process has been removed from the database.
-	 */
-	void notifyProcRemoved (Proc proc);
-	/**
-	 * A Task has been added to the database.
-	 */
-	void notifyTaskAdded (Task task);
-	/**
-	 * A Task has been removed from the database.
-	 */
-	void notifyTaskRemoved (Task task);
-    }
-}


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-17 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-17 17:50 [SCM] master: Delete HostObserver; unused cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).