UNSUSCRIBE ME


Subject: UNSUSCRIBE ME
From: Tania Lugo (tlgarcia00@yahoo.com)
Date: Fri Jan 31 2003 - 05:51:37 MET


 Tania Lugo <tlgarcia00@yahoo.com> wrote:

 Khalil Zahouani <kza@whitestein.com> wrote: Hi Guys ,

Does anyone of you know how to send an AgentAction which has a pointer
on an concept instance

thanks for your help

khalil

this is what i did:

public Connection conn = new Connection; //Connection is a Concept

public Reserv_Connection resCon = new Reserv_Connection;//Res_conn is an
Agentaction

conn.setdata("...");

resCon.setConnection(conn);//Reserv_Connection has two methods set and
getConnection which get and set and instance of connection
//////////jade.content.onto.basic.Action
Action action = new Action();
action.setActor(receiver);
action.setAction(resCon);

//need a content Element for the ACL message
ContentElementList content = new ContentElementList();
content.add(action);
try{

//msg.setContent();
getContentManager().fillContent(msg, content);
send(msg);
}catch(Exception e){e.printStac Yahoo! Mail Plus - Powerful. Affordable. Sign up now

---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

 Tania Lugo <tlgarcia00@yahoo.com> wrote:

 Khalil Zahouani <kza@whitestein.com> wrote:

Hi Guys ,

Does anyone of you know how to send an AgentAction which has a pointer
on an concept instance

thanks for your help

khalil

this is what i did:

public Connection conn = new Connection; //Connection is a Concept

public Reserv_Connection resCon = new Reserv_Connection;//Res_conn is an
Agentaction


conn.setdata("...");


resCon.setConnection(conn);//Reserv_Connection has two methods set and
getConnection which get and set and instance of connection
//////////jade.content.onto.basic.Action
Action action = new Action();
action.setActor(receiver);
action.setAction(resCon);

//need a content Element for the ACL message
ContentElementList content = new ContentElementList();
content.add(action);
try{

//msg.setContent();
getContentManager().fillContent(msg, content);
send(msg);
}catch(Exception e){e.printStac Yahoo! Mail Plus - Powerful. Affordable. Sign up now



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now



This archive was generated by hypermail 2a22 : Fri Jan 31 2003 - 05:50:47 MET