Find Jobs
Hire Freelancers

developing a framework to create mobile agents

$25-30 USD

已关闭
已发布超过 17 年前

$25-30 USD

货到付款
i want a framework for creating and deploying mobile agents in java without using any available technology like jini ## Deliverables need an interface for agent like described below abstract public class Agent { /** * The runtime calls initialize() exactly once -- * after the agent is created. * */ abstract public void initialize(); /** * The runtime calls start() whenever an agent must be * started. * */ abstract public void start(); /** * The runtime calls stop() whenever an agent must be * stopped -- either to transfer it, to store it, or to terminate it. * * An agent whose stop() method is called should * stop all computation, store any intermediate results, join all * active threads, and promptly return. * */ abstract public void stop(); /** * The runtime calls conclude() exactly once -- before * the agent is destroyed. * */ abstract public void conclude(); } and also agent should be able to migrate from remotehost to local host as explained below 1. The remote host notifies the local host of its desire to transfer an agent by invoking the remote agent's `requestToSend()` method. 2. The local host marks the beginning of the transfer by invoking the remote host's `beginTransfer()` method. The remote host in turn invokes the agent's `stop()` method. When the `stop()` method returns, the agent is ready for transfer. 3. The local host gets the resource piece of the agent by invoking the remote host's `transferResource()` method. The remote host returns the resource piece as an array of bytes. 4. The local host gets the data piece of the agent by invoking the remote host's `transferData()` method. The remote host returns the data piece as an array of bytes. 5. The local host marks the end of the transfer by invoking the remote host's `endTransfer()` method. It then resurrects the agent by calling the agent's `start()` method here resources means the instructions which agent should execute and data is the snapshot of agent state i.e snapshot of agent datastructures... ## Platform java
项目 ID: 3679057

关于此项目

远程项目
活跃18 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

INDIA的国旗
India
0.0
0
会员自7月 20, 2006起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。