Monday, August 29, 2005

EtherYatri.NET on .NET Compact Framework

This blog had been lying virtually unused for quite some time, so I think I'll try to build some momentum by answering some questions from the users of EtherYatri.NET here and hopefully have some interesting discussions too.

Florian asks:

Can you tell me if EtherYatri works with the compact framework from Microsoft, so that I can use it with Handhelds and PDAs?
Nope not as yet. Perhaps you can take EtherYatri.NET in this direction if you're interested. Let me know if you have any comments and/or suggestions.

Are the agents able to communicate with each other or only with the host? I ask that question, because it would be nice, if an agent con check if another agent is working on that computer and ask this agent for some information.
Yes, mobile-agents written using EtherYatri.NET can communicate with each other. In fact, I had paid special attention towards making it easier to communicate between EtherYatri.NET mobile-agents than is possible between mobile-agents written in Java using Aglets. Check the section entitled Simpler inter-agent communication in this document.

You can know more about EtherYatri.NET by visiting the GDN Workspace.

10 Comments:

At 10:23 AM, November 04, 2005, Blogger abhas1 said...

This is amazingly great!
I just noticed you have 5 blogs!

By the way, that header is awesome!
How'd you do that? Put the flash content as an image or what?

 
At 6:45 AM, November 10, 2005, Blogger abhas1 said...

Dude! You have got to tell me where you got this template from!!

 
At 7:43 AM, November 10, 2005, Blogger Sid said...

I got the template from here.

 
At 1:16 AM, November 25, 2005, Anonymous Florian said...

the communicatio is realy extremly simple

 
At 1:35 AM, November 25, 2005, Blogger Sid said...

@Florian: Thanks! As always do let me know if you have doubts in choosing a solution for your problem scenario.

 
At 6:19 AM, January 26, 2006, Anonymous florian said...

I have a question. I want to create two agents, that both move around autonomously in the network. Is it possible that these two know wether the other one still exists or not, while they are on different computers?
Something like a heart beat.

 
At 8:01 AM, January 26, 2006, Blogger Sid said...

@florian: You will need to write a new agent in addition to these two agents. Let's call this new agent - RegistryAgent.

RegistryAgent would be stationary on a host and would expose two AgentWebMethods, Register and GetProxy. Register would be called by your agents whenever they move to a new host to update their location known to RegistryAgent.

Any agent that needs to know whether another agent is alive or not, would query RegistryAgent by calling its GetProxy method. GetProxy would return a valid AgentProxy object if the agent being queried for exists, otherwise it would return null.

Signature for Register and GetProxy can then be:

void Register(AgentProxy)

AgentProxy GetProxy(AgentId id)

RegistryAgent may internally use a hash-table keyed on AgentId with the value part containing AgentProxy for the agent with that AgentId.

Let me know if this is too confusing :-)

 
At 3:17 AM, January 27, 2006, Anonymous florian said...

And again I have to say thanks
for your extremly fast help :-)

I did understand it :-)

 
At 7:38 AM, January 27, 2006, Blogger Sid said...

@florian: Cool! You're welcome!

 
At 8:51 AM, June 30, 2008, Anonymous Anonymous said...

Dear Sir,i have a problem,how can i make the toolkit WinAh read a value from agent ?.if the agent has a value how can i read it from WinAh also how to put a value from WinAh to existing Agent ?

 

Post a Comment

<< Home