[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-GIFT] getting configuration information

From: David Squire
Subject: [help-GIFT] getting configuration information
Date: Thu, 12 Jul 2001 18:27:54 +1000


I've been doing a bit of detective work trying to work out what configuration 
information is actually stored when the hand-shake information is parsed after 
a collection is made. I've just done this:

my $FeedbackClient = new CFeedbackClient();
# see if we can print a list of the available collections
foreach my $Collection (@{$FeedbackClient->{collection}}) {
    foreach my $Element (keys %$Collection) {
        print "$Element: $Collection->{$Element}<BR>\n";

which resulted in (when connecting to the demo server in Geneva):

query-paradigm-list: ARRAY(0x820d410)<BR>
collection-id: TSR500<BR>
query-paradigm-list: ARRAY(0x820d524)<BR>
collection-id: c-1-Lausanne<BR>
query-paradigm-list: ARRAY(0x820d56c)<BR>
collection-id: c-48-15-15-23-1-100-3-53-0<BR>
query-paradigm-list: ARRAY(0x820d5b4)<BR>
collection-id: c-corel<BR>
query-paradigm-list: ARRAY(0x820d5fc)<BR>
collection-id: c-such<BR>
query-paradigm-list: ARRAY(0x820d644)<BR>
collection-id: c-such-2<BR>
query-paradigm-list: ARRAY(0x820d68c)<BR>
collection-id: c-w<BR>

So I discover that the actual collection name is apparently not stored 
anywhere. It must come across in the hand-shake MRML, so I guess that the 
parser is just ignoring it. I suspect that what I have to do is to dive into 
the operation handleStart and make changes to something like:


with appropriate changes to addCollection too. Am I on the right track? I 
imagine that I'll have to do the same for algorithms etc. too.



Dr. David McG. Squire
Computer Science and Software Engineering, Monash University, Australia
Do/Don't want HTML mail? Let me know.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]