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


Subject: RE: [jade-develop] ACL from static context?
From: Minor Gordon (minorg@a.cs.okstate.edu)
Date: Tue Aug 27 2002 - 01:39:18 MET DST


"If ... you managed": but it's not really possible, is it? To go from a
jade.wrapper.AgentContainer returned by Runtime to a real
AgentContainerImpl?

Minor

On Mon, 26 Aug 2002, Caire Giovanni wrote:

CG> Hi Minor,
CG>
CG> If you just have a pointer to a jade.wrapper.AgentContainer there
CG> is no way to do that. If on the other hand you managed to get a
CG> pointer to the AgentContainerImpl object that is wrapped by a
CG> jade.wrapper.AgentContainer, you can use the handleSend() method.
CG>
CG> Bye
CG>
CG> Giovanni
CG>
CG> -----Original Message-----
CG> From: Minor Gordon [mailto:minorg@a.cs.okstate.edu]
CG> Sent: sabato 24 agosto 2002 3.29
CG> To: jade-develop@sharon.cselt.it
CG> Subject: [jade-develop] ACL from static context?
CG>
CG>
CG> I'm trying to write an interface between the agent platform and Oracle.
CG> Oracle can Java classes in to its JVM, and functions on them can be called
CG> from PL/SQL (stored procedures, etc.). This is rather useful. However,
CG> the nature of this beast is that Oracle never actually instantiates the
CG> classes -- it only calls static methods on them. Thus far I've gotten an
CG> agent container within Oracle to connect to the main container outside, by
CG> calling a static method which created an instance of the Runtime, created
CG> a container, etc. according to the basic example.
CG>
CG> What I'm wondering is this: is there any way to send an ACL message from
CG> the agent container, without instantiating an agent? Doing so could get
CG> really ugly -- creating the agent from the static function, then calling
CG> methods on it from another function to send messages. I'm sure this is
CG> possible (though I haven't tried it yet), but is there any easier way. To
CG> construct and send an ACL message without going through agent (which is
CG> merely acting as a proxy?). I suppose I could create the message
CG> and send it manually, but I'd much rather soon use JADE, so that I can
CG> be sure the agents outside understand it.
CG>
CG> Minor
CG>
CG> _______________________________________________
CG> jade-develop mailing list
CG> jade-develop@sharon.cselt.it
CG> http://sharon.cselt.it/mailman/listinfo/jade-develop
CG> UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
CG>
CG>
CG> ====================================================================
CG> CONFIDENTIALITY NOTICE
CG> This message and its attachments are addressed solely to the persons
CG> above and may contain confidential information. If you have received
CG> the message in error, be informed that any use of the content hereof
CG> is prohibited. Please return it immediately to the sender and delete
CG> the message. Should you have any questions, please contact us by
CG> replying to MailAdmin@tilab.com. Thank you
CG> ====================================================================
CG>
CG>



This archive was generated by hypermail 2a22 : Tue Aug 27 2002 - 01:38:09 MET DST