Jadex 0.96-beta1

jadex.adapter
Interface IToolAdapter


public interface IToolAdapter

This interface can be used to provide tool-specific platform-independent functionality to application agents.


Nested Class Summary
static interface IToolAdapter.IToolReply
          This interface allows e.g. tool adapters to send native messages to tool agents (without requiring ADF-defined message events).
 
Method Summary
 Class getMessageClass()
          The tool type supported by this adapter (e.g.
 void handleToolRequest(AgentIdentifier tool, AgentAction request, IToolAdapter.IToolReply reply)
          Handle a request from a tool agent.
 

Method Detail

handleToolRequest

void handleToolRequest(AgentIdentifier tool,
                       AgentAction request,
                       IToolAdapter.IToolReply reply)
Handle a request from a tool agent.

Parameters:
tool - The tool agent that issued the request.
request - The the request or query.
reply - A callback interface to the platform allowing the tool adapter to send reply messages to the tool agents.

getMessageClass

Class getMessageClass()
The tool type supported by this adapter (e.g. "tracer").

Returns:
the class of messages this tool will handle

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.