Find Jobs
Hire Freelancers

A framework for creating and deploying mobile agents

$20-25 USD

Κλειστή
Αναρτήθηκε περίπου 18 χρόνια πριν

$20-25 USD

Πληρωμή κατά την παράδοση
a framework for creating mobile agents ## Deliverables 1)need an agent interface which defines the following methods 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(); } 2)agents should be able to migrate between communicating hosts The communication goes as follows: 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 the resource means the instructions which agent should execute and data means snapshopt of agent state ## Platform java
Ταυτότητα εργασίας: 3679082

Σχετικά με την εργασία

Απομακρυσμένη Εργασία
Ενεργός/ή 18 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν

Σχετικά με τον πελάτη

Σημαία της INDIA
India
0,0
0
Μέλος από Ιουλ 20, 2006

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.