Astrophysical Virtual Observatory

::: AladinToAce :::
# Sitemap  
  AVO TWiki system # Edit # Attach # Diffs # Printable # More # Changes # Register # Search

:::
Logged in as TWikiGuest

EUROVO FC

AVO
SWG
Management
Science
Standards
Technology
Reports&Minutes
Forum
Events
Contacts
Help

EGG

Main

Know

Test

TWiki

Interface between Aladin & ACE

Since June 2003, this interface is a single-dependency; Aladin code knows about ACE, but ACE does not know about Aladin.

ACE includes an AceConsumer interface and an AceProducer class. Aladin implements the AceConsumer interface, including a 'callback' method consumeAceResults(InputStream in).

Aladin creates an instance of a AceProducer class, giving itself as the AceConsumer and passing also the url of the image. AceProducer runs the Ace dialog box - when complete, it spawns an extraction thread and returns to Aladin. The extraction thread, when complete, calls the AceConsumer (ie Aladin) passing the results to its consumeAceResults() method.

The results are given as in input stream to a VOTable formatted file. At the moment this file is local, but it need not be...



# Edit menu  


Topic revision r1.3 - 29 Sep 2004 - 15:41 - MarcoLeoni
Topic parents: WebHome > AvoSoftwareRepos
Copyright © 2003 by the contributing authors. All material on this collaboration tool is the property of the contributing authors. Ideas, requests, problems regarding AVO TWiki ? Send feedback.