com.cisco.provisioning.cpe.events
Interface ProvGroupListener

All Superinterfaces:
ProvAPIEventListener
All Known Implementing Classes:
ProvGroupAdapter

public interface ProvGroupListener
extends ProvAPIEventListener

The Listener interface for ProvGroup events. The addProvGroupListener method on the PACEConnection instance may be used to register ProvGroupListener instances.

Sample Usage:

      // Implement ProvGroupListener interface
      public class MyProvGroupListener
                          implements  ProvGroupListener
      {
          ...
      }

      // Create an instance of ProvGroupEventQualifier.
      myQualifier = new ProvGroupEventQualifier();
      // Filter it to a specific prov group ID.
      // [You may also use an instance of QualifyAll
      // that performs no filtering.]
      myQualifier.setProvGroupID("TEST_PROV_GROUP");

      // Register listener using PACEConnection
      ...
      conn.addProvGroupListener(
          new MyProvGroupListener(), // ProvGroupListener
          myQualifier // Qualifier
          );
       ...
 


Field Summary
static int PROV_GROUP_MODIFIED
          Event ID that indicates the PROV_GROUP_MODIFIED sub-event type of the ProvGroupEvent.
 
Method Summary
 void modified(ProvGroupEvent event)
          The method invoked when a ProvGroupEvent arrives.
 
Methods inherited from interface com.cisco.provisioning.cpe.events.ProvAPIEventListener
getOneShot, setOneShot
 

Field Detail

PROV_GROUP_MODIFIED

static final int PROV_GROUP_MODIFIED
Event ID that indicates the PROV_GROUP_MODIFIED sub-event type of the ProvGroupEvent. This indicates that a provisioning group has been modified.

See Also:
Constant Field Values
Method Detail

modified

void modified(ProvGroupEvent event)
The method invoked when a ProvGroupEvent arrives.

Parameters:
event - The object containing the modified provisioning group