Class RemoteService.resource.ServiceInterpreter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class RemoteService.resource.ServiceInterpreter

java.lang.Object
   |
   +----JavaAgent.resource.Interpreter
           |
           +----RemoteService.resource.ServiceInterpreter

public class ServiceInterpreter
extends Interpreter
Subclass of Interpreter used for communication between ClientAgents, ServiceAgents and ServiceBrokers. Facilitates the exchange of subclasses of Service between ServiceAgents and ClientAgents, and the registration of Services with the ServiceBroker.

Supports the following message types:


Copyright (c) 1995, H. Robert Frost, Stanford University. All rights reserved.

Copyright (c) 1996, H. Robert Frost, Enterprise Integration Technologies, Inc. All rights reserved.

RESTRICTED RIGHTS LEGEND: Use, duplication or disclosure by the Government is subject to restrictions as set forth in subparagraph(c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and in similar clauses in the FAR and NASA FAR supplement.

This software is bound by the terms and conditions listed in the attached LICENSE file.



Constructor Index

 o ServiceInterpreter()

Method Index

 o interpretLanguage(KQMLmessage, Agent, Language)
Handles a received message which references the "service" Interpreter.

Constructors

 o ServiceInterpreter
  public ServiceInterpreter()

Methods

 o interpretLanguage
  protected void interpretLanguage(KQMLmessage message,
                                   Agent receiver,
                                   Language language) throws InterpretationException
Handles a received message which references the "service" Interpreter.
Parameters:
message - Message which needs to be interpreted.
receiver - Agent who received the message.
language - Instance of Language which represents the message contents.
Overrides:
interpretLanguage in class Interpreter

All Packages  Class Hierarchy  This Package  Previous  Next  Index