class OpsListener implements DOMRpcAvailabilityListener, DOMActionAvailabilityExtension.AvailabilityListener {

    @Override
    public void onRpcAvailable(final Collection<DOMRpcIdentifier> rpcs) {
        checkArgument(rpcs != null, "Input Collection of DOMRpcIdentifier can not be null.");
        LOG.debug("Adding registration for [{}]", rpcs);

        rpcRegistry.tell(new AddOrUpdateRoutes(rpcs), ActorRef.noSender());
    }

      OpsListener(final ActorRef rpcRegistry, final ActorRef actionRegistry);

}