RE: [jade-develop] ACL from static context?


Subject: RE: [jade-develop] ACL from static context?
From: Caire Giovanni (Giovanni.Caire@TILAB.COM)
Date: Mon Aug 26 2002 - 09:05:01 MET DST


Hi Minor,

If you just have a pointer to a jade.wrapper.AgentContainer there is no way to do that. If on the other hand you managed to get a pointer to the AgentContainerImpl object that is wrapped by a jade.wrapper.AgentContainer, you can use the handleSend() method.

Bye

Giovanni

-----Original Message-----
From: Minor Gordon [mailto:minorg@a.cs.okstate.edu]
Sent: sabato 24 agosto 2002 3.29
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] ACL from static context?

I'm trying to write an interface between the agent platform and Oracle.
Oracle can Java classes in to its JVM, and functions on them can be called
from PL/SQL (stored procedures, etc.). This is rather useful. However,
the nature of this beast is that Oracle never actually instantiates the
classes -- it only calls static methods on them. Thus far I've gotten an
agent container within Oracle to connect to the main container outside, by
calling a static method which created an instance of the Runtime, created
a container, etc. according to the basic example.

What I'm wondering is this: is there any way to send an ACL message from
the agent container, without instantiating an agent? Doing so could get
really ugly -- creating the agent from the static function, then calling
methods on it from another function to send messages. I'm sure this is
possible (though I haven't tried it yet), but is there any easier way. To
construct and send an ACL message without going through agent (which is
merely acting as a proxy?). I suppose I could create the message
and send it manually, but I'd much rather soon use JADE, so that I can
be sure the agents outside understand it.

Minor

_______________________________________________
jade-develop mailing list
jade-develop@sharon.cselt.it
http://sharon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe



This archive was generated by hypermail 2a22 : Mon Aug 26 2002 - 09:05:07 MET DST