13.07.2015 Views

Extension of Object-Oriented Software Testing Techniques to Agent ...

Extension of Object-Oriented Software Testing Techniques to Agent ...

Extension of Object-Oriented Software Testing Techniques to Agent ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>of</strong>fer. Moreover it confirms the ticket with the seller. The seller agent will respond <strong>to</strong> thequeries made by the buyer agent and updates its state on successful transaction. Thebuyer agent re-executes its plan if there are no seller agents. The buyer agent is blockeduntil there is a seller <strong>of</strong> tickets. The sequence diagram for the buyer and seller agent isshown in the Figure 1.Figure 1- Sequence diagram for air ticket booking system showing the interaction between buyer, seller andsearch direc<strong>to</strong>ry agentIn object oriented paradigm, the communication between the objects is via method callsi.e. an object is actually sends a message <strong>to</strong> other object. An agent does not have anypublicly visible method which the other agents can call. The communication is achievedby agent communication language. The communication between the agents in JADE isdone by sending ACLMessage like CFP (call for purpose), propose, failure, inform etc.VOL. 7, NO. 8 JOURNAL OF OBJECT TECHNOLOGY 157

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!