solar.service.directory
Interface DirectoryListener

All Known Implementing Classes:
Monitor, Planet, RemoteDirectoryListener

public interface DirectoryListener

An observer for the directory events, such as the arrival of new names and removal of existing names, et al.

Version:
$Id: DirectoryListener.java,v 1.1 2003/09/25 05:32:24 glchen Exp $
Author:
Guanling Chen

Method Summary
 void nameAdded(Name name, NameRecord rec)
          Handle event about the addition of a name.
 void nameMigrated(Name name, NameRecord oldrec, NameRecord newrec)
          Handle event about the migration of a name (named resource).
 void nameRemoved(Name name, NameRecord rec)
          Handle event about the removal of a name.
 void nameUpdated(Name oldName, NameRecord oldrec, Name newName, NameRecord newrec)
          Handle event about the change of a name.
 

Method Detail

nameAdded

public void nameAdded(Name name,
                      NameRecord rec)
Handle event about the addition of a name.


nameRemoved

public void nameRemoved(Name name,
                        NameRecord rec)
Handle event about the removal of a name.


nameUpdated

public void nameUpdated(Name oldName,
                        NameRecord oldrec,
                        Name newName,
                        NameRecord newrec)
Handle event about the change of a name.


nameMigrated

public void nameMigrated(Name name,
                         NameRecord oldrec,
                         NameRecord newrec)
Handle event about the migration of a name (named resource).