Skip to Content.
Sympa Menu

perfsonar-dev - LS DATA iterator

Subject: perfsonar development work

List archive

LS DATA iterator


Chronological Thread 
  • From: Herbert Souza <>
  • To: Perfsonar Development List <>
  • Subject: LS DATA iterator
  • Date: Fri, 9 Mar 2007 18:25:08 -0300 (ART)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=o8reTEBP2fbbKG0R4w9uFGuflHbWWJ4+iOSASHGEwEP/SetApdXtOSzWCUD/hghwh16iaxgqu7tE9kHTplaKPjCaNLC6zKO3FfBgLchhh0uTBRctRSUaaWyvrZtA2EiBL6GTBfGGMjSY596Yy19ML/37hWaxOKKt6Qq6o8Z5wS4=;

Dear Maciej,

I am trying to get the childrens of the "Data" object and put in a
“Iterator". This in tha
LSRegisterAction.java. I am trying thus:

Iterator it = requestData.getMetadataIterator();
Metadata mn = (Metadata)ttt.next();
Iterator metadataChildrens =
(Iterator)requestData.getMetadata(mn.getId()).getChildIterator();
while (metadataChildrens.hasNext()) {
...
}

But the Iterator "metadataChildrens" is always empty. Have you some
suggestion?

In the attachments the Data in XML.

<nmwg:data id="data1" metadataIdRef="serviceLookupInfo">
<nmwg:metadata id="meta2">
<netutil:subject id="subj1"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";>
<nmwgt:interface
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";>

<nmwgt:hostName>atlang22-hstnng.abilene.ucaid.edu</nmwgt:hostName>
<nmwgt:ifName>unknown</nmwgt:ifName>

<nmwgt:ifDescription>hstn:oc192(p2p)::show:intracloud</nmwgt:ifDescription>
<nmwgt:ifAddress
type="ipv4">198.32.8.34</nmwgt:ifAddress>
<nmwgt:direction>in</nmwgt:direction>
<nmwgt:capacity>10000000000</nmwgt:capacity>
</nmwgt:interface>
</netutil:subject>
<nmwg:eventType>utilization</nmwg:eventType>
</nmwg:metadata>
</nmwg:data>

Thanks

Herbert

-------------------------------
Herbert Monteiro Souza

Cel Phone: +5571 88029549
Phone: +5571 33304658
-------------------------------
UNIFACS - UNIVERSIDADE SALVADOR
-------------------------------
NUPERC - NÚCLEO DE PESQUISA EM
REDES DE COMPUTADORES
-------------------------------

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/



Archive powered by MHonArc 2.6.16.

Top of Page