Skip to Content.
Sympa Menu

perfsonar-dev - v2_0/Message.java MetadataMap Issue

Subject: perfsonar development work

List archive

v2_0/Message.java MetadataMap Issue


Chronological Thread 
  • From:
  • To: "" <>
  • Subject: v2_0/Message.java MetadataMap Issue
  • Date: Tue, 29 Aug 2006 09:35:04 -0300

Hi all,

Making some modifications to the CLMP, i've noticed that there is no method in the base Message class that lets you set a new MetadataMap. From what I understood, if I want to remove a metadata from a message within execution time, I have to: get the MetadataMap, remove the one I want, clear the MetadataMap of the Message and insert the Metadata's that left one by one.

From my testing the MetadataMap you get from getMetadataMap() isnt linked directly to the one in the Message, so removing it locally wont synchronize with the one inside the Message. Is there any known issues that would make implementing a method setMetadataMap(Map) something unwanted? Or maybe does anyone knows a better solution to the problem of having to remove metadata's in execution time?

(I will be modifying Message.java for testing purposes until a definition comes up for this)

Guilherme Fernandes

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Archive powered by MHonArc 2.6.16.

Top of Page