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:
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?
Dude! You have got to tell me where you got this template from!!
I got the template from here.
the communicatio is realy extremly simple
@Florian: Thanks! As always do let me know if you have doubts in choosing a solution for your problem scenario.
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.
@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 :-)
And again I have to say thanks
for your extremly fast help :-)
I did understand it :-)
@florian: Cool! You're welcome!
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