Subject: SocketProxyAgent
From: Felix Schmid (fsc.tech@spree.de)
Date: Fri Sep 06 2002 - 15:39:19 MET DST
Hello,
I am playing around with a modified version of the SocketProxyAgent. In the
Connection method I am reading commands from the socket input stream.
Upon a ceratin command I am calling a method of my SocketProxyAgent class,
which in turn uses the DFService.search() method to look up some agent
in order to send a message to it. However, this doesn't work. It's appears
that the search() call never returns. If I initialize the needed AID in the
setup()-block of
my Agent for later usage by the method called by the Connection-Thread
everything works.
So it seems that the problem is that I am calling the Agent's method from
an other thread (the Connection thread)? Why is this a problem? Any
suggestions?
regards,
felix
This archive was generated by hypermail 2a22 : Fri Sep 06 2002 - 15:31:40 MET DST