Cisco Cisco Configuration Engine 3.5 Entwickleranleitung

Seite von 344
6-65
Cisco Configuration Engine Software Development Kit API Reference and Programmer Guide 3.5
OL-17661-02
Chapter 6      Namespace Administration, Group Administration, and Notification APIs
Notification API Reference
    public String getCloneId ()
    public String[] getMapping ()
    
};
public interface NotificationHandler
{
    void  onNotification ( DataChangeInfo dataChangeInfo,
                           String namespace,
                           Object callbackArg ) throws 
                           NotificationHandlerException;
};
public class GroupChangeNotification
{
    public GroupChangeNotification (String namespace, 
                                    NotificationHandler callback,
                                    Object callbackArg);
   
    
    public int startNotification () throws NotificationException;
    public int stopNotification () throws NotificationException;
};
public class NamespaceChangeNotification
{
    public NamespaceChangeNotification (String namespace, 
                                    NotificationHandler callback,
                                    Object callbackArg);
    public int startNotification () throws NotificationException;
    public int stopNotification () throws NotificationException;
};