Class RemoteService.agent.ServiceMessageHandler
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class RemoteService.agent.ServiceMessageHandler

java.lang.Object
   |
   +----JavaAgent.agent.MessageHandler
           |
           +----RemoteService.agent.ServiceMessageHandler

public class ServiceMessageHandler
extends MessageHandler
Subclass of MessageHandler which handles all message transmissions for a ServiceAgent.


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 ServiceMessageHandler(ServiceAgent)
Creates a new ServiceMessageHandler.

Method Index

 o initiateTermination()
Called when the executable class which contains the ServiceAgent terminates, first unregisters all of the services, then sends a remove-address message to the ANS.

Constructors

 o ServiceMessageHandler
  public ServiceMessageHandler(ServiceAgent parent)
Creates a new ServiceMessageHandler.
Parameters:
parent - ServiceAgent which this handler represents.

Methods

 o initiateTermination
  public void initiateTermination()
Called when the executable class which contains the ServiceAgent terminates, first unregisters all of the services, then sends a remove-address message to the ANS.
Overrides:
initiateTermination in class MessageHandler

All Packages  Class Hierarchy  This Package  Previous  Next  Index