com.adventnet.utils.agent
Interface RegistrationInterface

All Superinterfaces:
AgentEventListener
All Known Implementing Classes:
AgentSnmpGroup

public interface RegistrationInterface
extends AgentEventListener

This interface is implemeneted by main class which makes all necessary connections for group level registration listeners This is mainly used as a clean interface for testing. Example: class_ = Class.forName(classname); Here we are not aware of the class which is going to be instantiated, so we are class casting to this Interface sampleMib = (RegistrationInterface)class_.newInstance();


Method Summary
 void addRegistrationListener(RegistrationListener l)
          This method adds the registener listener.
 void removeRegistrationListener(RegistrationListener l)
          This method removes the registener listener.
 

Method Detail

addRegistrationListener

void addRegistrationListener(RegistrationListener l)
This method adds the registener listener.

Parameters:
l - The Registration Listener to add.

removeRegistrationListener

void removeRegistrationListener(RegistrationListener l)
This method removes the registener listener.

Parameters:
l - The Registration Listener to be Removed.