Jadex 0.941

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

public 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

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

Returns:
the class of messages this tool will handle

Jadex 0.941

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-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.