com.cisco.provisioning.cpe.events
Interface CRSCompleteListener

All Superinterfaces:
ProvAPIEventListener
All Known Implementing Classes:
CRSCompleteAdapter

public interface CRSCompleteListener
extends ProvAPIEventListener

The Listener interface for CRSCompleteEvents. The addCRSCompleteListener method on the PACEConnection instance may be used to register CRSCompleteListener instances.

Sample Usage:

      // Implement CRSCompleteListener interface
      public class MyCRSCompleteListener implements  CRSCompleteListener
      {
          ...
      }

      // Create an instance of CRSCompleteEventQualifier and
      // filter by batchID.
      // [You may also use an instance of QualifyAll
      // that performs no filtering.]
      myQualifier = new CRSCompleteEventQualifier();
      // Filter to a specific batch ID
      myQualifier.setBatchID("TEST_BATCH_01");

      // Register CRSComplete listener using PACEConnection
      ...
      conn.addCRSCompleteListener(new MyCRSCompleteListener(), // CRSCompleteListener
                                       myQualifier // Qualifier
                                       );
       ...
 


Field Summary
static int CRS_COMPLETED
          Event ID that indicates the CRS_COMPLETED sub-event type of the CRSCompleteEvent.
 
Method Summary
 void crsCompleted(CRSCompleteEvent event)
          The method invoked when a CRSCompleteEvent arrives as a result of a CRS Change Request being completed.
 
Methods inherited from interface com.cisco.provisioning.cpe.events.ProvAPIEventListener
getOneShot, setOneShot
 

Field Detail

CRS_COMPLETED

static final int CRS_COMPLETED
Event ID that indicates the CRS_COMPLETED sub-event type of the CRSCompleteEvent. This indicates that a CRS has completed a change request. (A request to change a defined set of devices, ex: All classes with the Gold class of service).

See Also:
Constant Field Values
Method Detail

crsCompleted

void crsCompleted(CRSCompleteEvent event)
The method invoked when a CRSCompleteEvent arrives as a result of a CRS Change Request being completed.

Parameters:
event - The object containing the CRSCompleteEvent data.