help: converting stringified AID back to AID


Subject: help: converting stringified AID back to AID
From: Felix Schmid (fsc.tech@spree.de)
Date: Tue Aug 06 2002 - 13:54:44 MET DST


Hi there,

I am currently trying to convert a String containing the AID of an agent
(derived by AID's toString() method)
back to an instance of class AID. However, using AID's constructor doesn't
work as it appends another
'agent-identifier' in front of the String.

e.g.

( agent-identifier :name wda01@moldau:1099/JADE)

becomes

  ( agent-identifier :name ( agent-identifier :name wda01@moldau:1099/JADE))

Is there any way to solve this problem?

cheers,
felix



This archive was generated by hypermail 2a22 : Tue Aug 06 2002 - 13:53:07 MET DST