Class ListenerRegistrationHelper

java.lang.Object
org.opendaylight.openflowplugin.applications.frm.impl.ListenerRegistrationHelper

@Singleton public class ListenerRegistrationHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    ListenerRegistrationHelper(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends org.opendaylight.yangtools.yang.binding.DataObject, L extends org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<T>>
    com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.concepts.ListenerRegistration<L>>
    checkedRegisterListener(org.opendaylight.mdsal.binding.api.DataTreeIdentifier<T> treeId, L listener)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ListenerRegistrationHelper

      @Inject public ListenerRegistrationHelper(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
  • Method Details

    • checkedRegisterListener

      public <T extends org.opendaylight.yangtools.yang.binding.DataObject, L extends org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<T>> com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.concepts.ListenerRegistration<L>> checkedRegisterListener(org.opendaylight.mdsal.binding.api.DataTreeIdentifier<T> treeId, L listener)
    • close

      public void close() throws Exception
      Throws:
      Exception